Merge pull request #15493 from basepi/bp-15272

Backport #15272 to 2014.7
This commit is contained in:
Thomas S Hatch 2014-09-04 11:05:58 -06:00
commit 9f8683701e

View File

@ -89,7 +89,7 @@ def clean_proc(proc, wait_for_kill=10):
proc.pid
)
)
os.kill(signal.SIGKILL, proc.pid)
os.kill(proc.pid, signal.SIGKILL)
except (AssertionError, AttributeError):
# Catch AssertionError when the proc is evaluated inside the child
# Catch AttributeError when the process dies between proc.is_alive()