subprocess.Popen and ordering writes to stdout and stderr

Lie Ryan lie.1296 at gmail.com
Fri Dec 18 13:57:21 EST 2009


On 12/18/2009 8:15 AM, Chris Withers wrote:
>
> ....the order of the writes isn't preserved.
> How can I get this to be the case?
>

You'll need to flush the std{out|err} or set them unbuffered; or you can 
just forget about relying on std{out|err} being ordered per write-order.



More information about the Python-list mailing list