]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #12494: Close pipes and kill process on error in subprocess functions
authorVictor Stinner <victor.stinner@haypocalc.com>
Thu, 1 Sep 2011 21:45:04 +0000 (23:45 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Thu, 1 Sep 2011 21:45:04 +0000 (23:45 +0200)
commitc15c88c13dd67e320161760638778b17486100c1
treeac307edc5d42ff52186369ed1d2d88fa9cabfc4c
parent3391e64482fa55c06b073cc76668bf1bf3e5c149
Issue #12494: Close pipes and kill process on error in subprocess functions

On error, call(), check_call(), check_output() and getstatusoutput() functions
of the subprocess module now kill the process, read its status (to avoid
zombis) and close pipes.
Lib/subprocess.py
Misc/NEWS