[issue12695] subprocess.Popen: OSError: [Errno 9] Bad file descriptor

2011-08-05 Thread Martin von Gagern
Martin von Gagern added the comment: Sorry, this is a duplicate of issue #11432. Failed to find that, and also failed to realize that python is now using hg and my svn checkout might be outdated. Sorry there. -- resolution: -> duplicate status: open -> closed ___

[issue12695] subprocess.Popen: OSError: [Errno 9] Bad file descriptor

2011-08-05 Thread Martin von Gagern
New submission from Martin von Gagern : suprocess.Popen on POSIX (using _posixsubprocess Module) has a good chance of repeatedly closing the same file descriptor if the descriptor for stdin is also used for stdout and/or stderr. Only stdout and stderr are checked for equality with one another.