>>>>> robert <[EMAIL PROTECTED]> (R) wrote:

>R> when I run a command

>R> myapp 2>&1


>R> yet:

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

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


Make sure that myapp writes it synchronously. Probably myapp has it
buffered, so it writes out at the end of the run. It is not caused by
python. 

-- 
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: [EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to