subprocess.Popen and ordering writes to stdout and stderr
Chris Withers
chris at simplistix.co.uk
Thu Dec 17 17:33:53 EST 2009
exarkun at twistedmatrix.com wrote:
> libc is probably giving you line buffering when you use os.system
> (because the child process inherits the parent's stdio, and the parent's
> stdio is probably a pty, and that's the policy libc implements).
<snip>
Interesting, but do these assertions still hold true when I tell you
that I'm doing all this on Windows? ;-)
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
More information about the Python-list
mailing list