Does QProcess::waitForReadyRead
return when there is data in the process's stderr, or does it wait only on stdout? How can I wait for data on stderr without using signals and slots?
Asked
Active
Viewed 729 times
1 Answers
2
Will control whether your monitoring stderr or stdout, so if you call:
myProcess->setReadChannel( QProcess::StandardError );
then waitForReadyRead
will only act on stderr.
See also: QProcess::setProcessChannelMode

Chris
- 17,119
- 5
- 57
- 60