Detach update process.

This commit is contained in:
Sage Vaillancourt 2022-10-02 22:25:23 -04:00
parent 9b8221ce1e
commit d777401475
1 changed files with 1 additions and 1 deletions

View File

@ -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'])