Fix Task.execute_remotely() with sub process

This commit is contained in:
allegroai 2021-03-18 09:50:36 +02:00
parent 56825f9e7a
commit 9ff52a8699

View File

@ -1893,7 +1893,7 @@ class Task(_Task):
# leave this process.
if exit_process:
LoggerRoot.get_base_logger().warning('Terminating local execution process')
os._exit(0) # noqa
exit(0)
return task