From 2d989d4229ac0bf0e38451f19ca419d62cb04f2e Mon Sep 17 00:00:00 2001 From: jxxghp Date: Tue, 10 Oct 2023 18:19:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20main.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 635a149d..d20cc62d 100644 --- a/app/main.py +++ b/app/main.py @@ -68,7 +68,7 @@ def start_frontend(): nginx_path = settings.ROOT_PATH / 'nginx' / 'nginx' if Path(nginx_path).exists(): import subprocess - subprocess.Popen(f"start {nginx_path}", shell=True) + subprocess.Popen(nginx_path) def stop_frontend():