[issue9905] subprocess.Popen fails with stdout=PIPE, stderr=PIPE if standard descriptors (0, 1, 2) are closed.

Ross Lagerwall report at bugs.python.org
Sun Jan 2 15:02:36 CET 2011


Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

OK here is a patch + tests. Basically, it makes sure that the fd that it is closing is not 0, 1 or 2.

I've set it for 2.7, 3.1 and 3.2.

----------
keywords: +patch
nosy: +rosslagerwall
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
Added file: http://bugs.python.org/file20220/i9905_v1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9905>
_______________________________________


More information about the Python-bugs-list mailing list