From 6119eb36817b5cc41b6cec3d24ebbab0653c002b Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 18 Feb 2023 14:34:53 +0100 Subject: [PATCH] Revert restart change --- cps/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/server.py b/cps/server.py index 14ab0c37..1a25a72e 100644 --- a/cps/server.py +++ b/cps/server.py @@ -266,7 +266,7 @@ class WebServer(object): if os.environ.get('FLASK_DEBUG'): subprocess.run(args, close_fds=True) # nosec else: - subprocess.Popen(args, close_fds=True) # nosec + subprocess.run(args, close_fds=True) # nosec return True @staticmethod