mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 21:21:21 -03:30
Also forcefully kill the main process
This commit is contained in:
parent
ac5a5c574d
commit
2f843d15e0
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user