mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
Also forcefully kill the main process
This commit is contained in:
@@ -600,6 +600,7 @@ class BaseTask(Task):
|
||||
child_procs = main_proc.get_children(recursive=True)
|
||||
for child_proc in child_procs:
|
||||
os.kill(child_proc.pid, signal.SIGKILL)
|
||||
os.kill(main_proc.pid, signal.SIGKILL)
|
||||
except TypeError:
|
||||
os.kill(child.pid, signal.SIGKILL)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user