diff --git a/python/ray/services.py b/python/ray/services.py index e47717f0e..3cb7474d1 100644 --- a/python/ray/services.py +++ b/python/ray/services.py @@ -442,7 +442,8 @@ def start_ray_process(command, env=modified_env, cwd=cwd, stdout=stdout_file, - stderr=stderr_file) + stderr=stderr_file, + preexec_fn=os.setsid) return ProcessInfo( process=process,