netstat -n | awk '{print $ 5}' A simple construction displays ip: port - it works fine.
Upon attempt:
process.start("netstat -n | awk '{print $5}'"); process.waitForFinished(); QByteArray result = process.readAll();
I get cookies, netstat -n worked, but awk did not catch, just got the output from the netstat command.