script_helper: kill the subprocess on error
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.
V
Victor Stinner committed
7e6977a8bc5c5209d22241933b6a1d5116de4121
Parent: 6423429