[Python-Dev] A question about the subprocess implementation (original) (raw)

Vinay Sajip vinay_sajip at yahoo.co.uk
Sun Jan 8 13:09:38 CET 2012


Phil Vandry <vandry TZoNE.ORG> writes:

proc.stdin, proc.stdout, and proc.stderr aren't meant to be a reference to the file that got connected to the subprocess' stdin/stdout/stderr. They are meant to be a reference to the OTHER END of the pipe that got connected.

Of course, and I've been using them like that, in general. But reading those two sentences above made the light bulb come on :-)

Regards,

Vinay Sajip



More information about the Python-Dev mailing list