mirror of
https://github.com/python/cpython.git
synced 2025-11-18 01:57:37 +00:00
If Popen.communicate() raises an exception, kill the child process to not leave a running child process in background and maybe create a zombi process. This change fixes a ResourceWarning in Python 3.6 when unit tests are interrupted by CTRL+c. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| script_helper.py | ||