[issue37410] [Windows] subprocess: close the handle when the process completes

STINNER Victor report at bugs.python.org
Wed Jun 26 09:40:23 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

terminate() was changed by:

commit a0c9caad66f01328155177180df1c46fe7c62e57
Author: Gregory P. Smith <greg at krypto.org>
Date:   Sun Nov 15 18:19:10 2015 -0800

    Fix issue #6973: When we know a subprocess.Popen process has died, do
    not allow the send_signal(), terminate(), or kill() methods to do
    anything as they could potentially signal a different process.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37410>
_______________________________________


More information about the Python-bugs-list mailing list