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?
Does QProcess::waitForReadyRead return when there is data in the process’s stderr, or does it
Share
QProcess::setReadChannel()
Will control whether your monitoring stderr or stdout, so if you call:
then
waitForReadyReadwill only act on stderr.See also: QProcess::setProcessChannelMode