diff --git a/clearml/task.py b/clearml/task.py index 8168d720..6359f4c6 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -1867,7 +1867,7 @@ class Task(_Task): # leave this process. if exit_process: LoggerRoot.get_base_logger().warning('Terminating local execution process') - exit(0) + os._exit(0) # noqa return task