Solved QProcess buffers question
-
Why is readAllStandardError() returning empty when called the second time? Can it only be read once?
stderrtxt1=run_command.readAllStandardError(); // has error content
stderrtxt2=run_command.readAllStandardError(); // returns empty
-
Hi! readAllStandardError reads all available data from the standard error channel. After that the input is empty until new data is written to the channel.
-
Hi! readAllStandardError reads all available data from the standard error channel. After that the input is empty until new data is written to the channel.
-
Thanks! Marking solved.