Denver Coneybeare <[email protected]> added the comment:
Ahh okay. I've reproduced it in trunk at changeset 053bc5ca199b.
As suggested, I ran: PCBuild\pythonw.exe lib\idlelib\idle.py
Python 3.3a0 (default, Apr 2 2011, 21:55:40) [MSC v.1500 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license()" for more information.
>>> import subprocess
>>> subprocess.Popen(["python", "-c", "print(32)"], stdin=None,
>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
subprocess.Popen(["python", "-c", "print(32)"], stdin=None,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "C:\dev\cpython\cpython\lib\subprocess.py", line 732, in __init__
errread, errwrite) = self._get_handles(stdin, stdout, stderr)
File "C:\dev\cpython\cpython\lib\subprocess.py", line 903, in _get_handles
p2cread = self._make_inheritable(p2cread)
File "C:\dev\cpython\cpython\lib\subprocess.py", line 946, in
_make_inheritable
_subprocess.DUPLICATE_SAME_ACCESS)
WindowsError: [Error 6] The handle is invalid
>>>
So, the issue is definitely not fixed.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue3905>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com