[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
- Previous message: [Python-Dev] A question about the subprocess implementation
- Next message: [Python-Dev] A question about the subprocess implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] A question about the subprocess implementation
- Next message: [Python-Dev] A question about the subprocess implementation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]