Keith Rarick added the comment:
There was a typo in my description of the patch. It should read:
I've attached a patch to fix this. It simply adds 2 and *1* to the list of fds
not to close for c2pwrite and errwrite, respectively.
--
___
Python trac
New submission from Keith Rarick :
Transcript to reproduce in Python 2.6.5:
>>> import subprocess, sys
>>> subprocess.call(('echo', 'foo'), stderr=sys.stdout)
echo: write: Bad file descriptor
1
>>>
Expected behavior:
>>> import subprocess, sys
>>> subprocess.call(('echo', 'foo'), stderr=sys.s