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