From 6b2ca9537d1886399fb4e52e6bb01e1038c6c66c Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Sat, 18 Feb 2023 14:34:31 +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 1411debe..867320da 100644 --- a/cps/server.py +++ b/cps/server.py @@ -265,7 +265,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