I have a QProcess where I am not able to discard the Output on a Windows Machine:
QProcess * pingProcess = new QProcess;
arguments "google.com" << "-n" << "1";
pingProcess->setStandardOutputFile(pingProcess->nullDevice());
pingProcess->setStandardErrorFile(pingProcess->nullDevice());
pingProcess->setProcessChannelMode(QProcess::SeparateChannels);
int exitCode = pingProcess->execute("ping",arguments);
I still have the Output of the ping in the command line
Any idea?