[issue27068] Add a detach() method to subprocess.Popen
Martin Panter
report at bugs.python.org
Sat Jan 7 15:57:52 EST 2017
Martin Panter added the comment:
The user can access pipes and close them directly, or keep their own reference. I don’t think detach() should touch pipes, and __exit__() should probably continue to close them. Maybe call the method detach_pid() if that makes it clearer that pipes are unaffected.
For the Windows process handle, I suggest detach() should close it. I believe this would make Windows work like Unix when you set SIGCHLD to automatically reap children.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27068>
_______________________________________
More information about the Python-bugs-list
mailing list