From 9ff52a8699266fec1cca486b239efa5ff1f681bc Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 18 Mar 2021 09:50:36 +0200 Subject: [PATCH] Fix Task.execute_remotely() with sub process --- clearml/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clearml/task.py b/clearml/task.py index 1d3876ee..62c6bfdf 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -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