Revert restart change

This commit is contained in:
Ozzie Isaacs 2023-02-18 14:34:53 +01:00
parent 3d8256b6a6
commit 6119eb3681

View File

@ -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