Commit e1bd0072 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix utils.KillProcess

Rev 1978 introduced a breakage on the SIGKILL finall signal to the
process, due to mistyped variable.

Reviewed-by: francis.perron
parent 438a366a
......@@ -1415,7 +1415,7 @@ def KillProcess(pid, signal_=signal.SIGTERM, timeout=30,
while time.time() < end and IsProcessAlive(pid):
time.sleep(0.1)
if IsProcessAlive(pid):
_helper(pid, signal.SIGKILL, wait)
_helper(pid, signal.SIGKILL, waitpid)
def FindFile(name, search_path, test=os.path.exists):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment