STINNER Victor added the comment:

The purpose of this issue is to avoiding having to call CreateProcess() with 
bInheritHandles parameter set to TRUE on Windows, and avoid calls to 
self._make_inheritable() in subprocess.Popen._get_handles().

Currently, bInheritHandles is set to TRUE if stdin, stdout and/or stderr 
parameter of Popen constructor is set (to something else than None).

Using PROC_THREAD_ATTRIBUTE_HANDLE_LIST, handles don't need to be marked as 
inheritable in the parent process, and CreateProcess() can be called with 
bInheritHandles parameter set to FALSE.

----------

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

Reply via email to