[Qt-interest] newbie:facing issues with readallstdoutput and QProcess
Stephen Jackson
spjackson42 at gmail.com
Mon May 4 08:44:57 CEST 2009
On 04/05/09, john doe wrote:
>
> If I use program=python; and arguments << "version" or "-version" or
> "--version" no stdoutput or stderror is read back!
> Can someone please help ?
>
The code you posted only reads stdout, not stderr. If you run python
with the 3 different arguments you mention here, it writes to stderr
not stdout. If you want to read stderr, the QProcess documentation
explains how to do this.
Regards,
Stephen Jackson
More information about the Qt-interest-old
mailing list