commit | c15c88c13dd67e320161760638778b17486100c1 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu Sep 01 23:45:04 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu Sep 01 23:45:04 2011 +0200 |
tree | ac307edc5d42ff52186369ed1d2d88fa9cabfc4c | |
parent | 3391e64482fa55c06b073cc76668bf1bf3e5c149 [diff] |
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.