Joining stdout & stderr of subprocess ?

robert no-spam at no-spam-no-spam.com
Fri Apr 21 06:57:19 EDT 2006


when I run a command

myapp 2>&1


yet:

#!python
print os.popen("myapp 2>&1").read()

the stderr stuff comes all after the stdout stuff.
How can I get ahold of all the out and err joined synchronously in the 
order, it is created ?


robert



More information about the Python-list mailing list