Hi. I've got some troubles with debugging my app. I'm running new process with QProcess::startDetached (command), but it gives a lot of logs. I don't need them, so my question is - how can i disable printing stdoutput and stderror of this new process? I've tried:

Qt Code:
  1. QProcess newprocess
  2. newprocess.startDetached ("xscreensaver-command -deactivate");
  3. newprocess.CloseReadChannel(newprocess.StandartError());
  4. newprocess.CloseReadChannel(newprocess.StandartOutput());
To copy to clipboard, switch view to plain text mode 

But it doesn't work. xcreensaver prints his warning about running statement.