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:
QProcess newprocess newprocess.startDetached ("xscreensaver-command -deactivate"); newprocess.CloseReadChannel(newprocess.StandartError()); 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.
Bookmarks