[issue3144] popen / popen[234] inconsistent fd behavior

2008-06-19 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: This is so true that these functions are now documented as deprecated: http://docs.python.org/dev/library/os.html#os.popen2 Please use the subprocess.Popen class instead, which gives a much better interface to processes. -- nos

[issue3144] popen / popen[234] inconsistent fd behavior

2008-06-19 Thread Justin Cappos
New submission from Justin Cappos <[EMAIL PROTECTED]>: The behavior of popen vs popen[2-4] differs with respect to open file descriptors (at least on the Linux implementation of popen). popen does not close file descriptors, thus processes retain open file descriptors from their parent. This