salve.
Sto realizzando un applicazione che mi legga l' output delle reti di aircrack.
Solo che passandogli come argomento "airodump-ng mon5" non mi stampa nessun output invece da terminale ubuntu mi stampa le reti trovate come mai?
Se gli passo solo "airodump-ng" mi stampa l' output.
Volevo chiedere aiuto a voi.
Grazie

Codice PHP:
SwingWorker<VoidStringscan = new SwingWorker<VoidString>() {

        @
Override
        
protected Void doInBackground() throws Exception {
            
Runtime r Runtime.getRuntime();
            
String cmdres;
            
res null;
            
cmd "airodump-ng mon5";
            
            try {
                
Process p r.exec(cmd);
                
BufferedReader pin = new BufferedReader(new InputStreamReader(
                        
p.getInputStream()));
                while ((
res pin.readLine()) != null) {
                   
jTextArea1.append(res "\n");
                   
publish(res);
                }
            } catch (
Exception exc) {
            }
            
            return 
null;
        }
    };