This commit is contained in:
jxxghp
2023-10-10 19:45:18 +08:00
parent 2d989d4229
commit 2f0f58783e
2 changed files with 6 additions and 7 deletions

View File

@ -68,7 +68,7 @@ def start_frontend():
nginx_path = settings.ROOT_PATH / 'nginx' / 'nginx'
if Path(nginx_path).exists():
import subprocess
subprocess.Popen(nginx_path)
subprocess.Popen(f"./{nginx_path}", shell=True)
def stop_frontend():