Detach update process.
This commit is contained in:
parent
9b8221ce1e
commit
d777401475
|
@ -276,7 +276,7 @@ def git_update() -> None:
|
||||||
script = os.environ['UPDATE_SCRIPT_PATH']
|
script = os.environ['UPDATE_SCRIPT_PATH']
|
||||||
if not script:
|
if not script:
|
||||||
return
|
return
|
||||||
subprocess.run(['bash', '-c', "test -f " + script + " && " + script])
|
subprocess.Popen(['bash', '-c', "test -f " + script + " && " + script])
|
||||||
|
|
||||||
|
|
||||||
@writing_blueprint.route('/', methods=['POST'])
|
@writing_blueprint.route('/', methods=['POST'])
|
||||||
|
|
Loading…
Reference in New Issue