[Qt-interest] newbie:facing issues with readallstdoutput and QProcess
Thiago Macieira
thiago.macieira at trolltech.com
Mon May 4 21:14:21 CEST 2009
Em Segunda-feira 04 Maio 2009, às 19:20:12, john doe escreveu:
> Thanks for the answer :-), the problem is though if I try to run python -h,
> I can see the output, but python --version won't work.!!!! I can't figure
> out why a particular flag works and the other one does not!
That's not a Qt issue. It's a Python issue:
$ python -h >/dev/null
$ python --version >/dev/null
Python 2.6.1
One option prints to stdout, the other option prints to stderr. It's up to you
to determine which channel the information you're interested is in.
Or, another option, is to use MergedChannels.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Software
Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090504/bb12f2ec/attachment.bin
More information about the Qt-interest-old
mailing list