diff --git a/app/routes.py b/app/routes.py index 86070ac..49a249e 100644 --- a/app/routes.py +++ b/app/routes.py @@ -276,7 +276,7 @@ def git_update() -> None: script = os.environ['UPDATE_SCRIPT_PATH'] if not script: return - subprocess.run(['bash', '-c', "test -f " + script + " && " + script]) + subprocess.Popen(['bash', '-c', "test -f " + script + " && " + script]) @writing_blueprint.route('/', methods=['POST'])