STINNER Victor added the comment:

The PEP 446 fixes the issue on UNIX for file descriptors, but you are right, 
there is still an issue with inheritable Windows handles. By default, Windows 
handles are not inheritable, but subprocess requires to make stdout and stderr 
pipes inheritable.

See:
https://www.python.org/dev/peps/pep-0446/#only-inherit-some-handles-on-windows

See also the issue #19764: "subprocess: use PROC_THREAD_ATTRIBUTE_HANDLE_LIST 
with STARTUPINFOEX on Windows Vista".

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26731>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to