Add reliable execution reporting and coordinated dashboard views
This commit is contained in:
@@ -204,7 +204,10 @@ def _run(host, collector, timeout, settings):
|
||||
stdout, stderr = process.communicate(timeout=timeout)
|
||||
except subprocess.TimeoutExpired:
|
||||
try:
|
||||
os.killpg(process.pid, signal.SIGKILL)
|
||||
if os.name == 'posix':
|
||||
os.killpg(process.pid, signal.SIGKILL)
|
||||
else:
|
||||
process.kill()
|
||||
except ProcessLookupError:
|
||||
pass
|
||||
process.communicate()
|
||||
|
||||
Reference in New Issue
Block a user