diff --git a/base.py b/base.py index 69eb955..28f0b4b 100644 --- a/base.py +++ b/base.py @@ -310,7 +310,8 @@ class ServiceManager: proc = subprocess.Popen(cmd.split(), env=env) proc.wait() return - process = subprocess.Popen(cmd.split(), env=env, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + process = subprocess.Popen(cmd.split(), env=env, start_new_session=True, + stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) if not port: logger.info('%sstarted: %s', 're' if restart else '', cmd) continue