Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r63572:98b8a8dcc5b9
Date: 2013-04-23 15:01 -0700
http://bitbucket.org/pypy/pypy/changeset/98b8a8dcc5b9/
Log: forgot this w/ 7737ba1bb77c
diff --git a/lib-python/3/subprocess.py b/lib-python/3/subprocess.py
--- a/lib-python/3/subprocess.py
+++ b/lib-python/3/subprocess.py
@@ -871,7 +871,7 @@
elif stderr == PIPE:
errread, errwrite = _subprocess.CreatePipe(None, 0)
elif stderr == STDOUT:
- errwrite = c2pwrite
+ errwrite = c2pwrite.handle # pass id to not close it
elif isinstance(stderr, int):
errwrite = msvcrt.get_osfhandle(stderr)
else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit