Skip to content

Commit 7558c2b

Browse files
committed
[Debug] debug print error
1 parent ddd18e1 commit 7558c2b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

run_server.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def start_gunicorn():
6161
cmd += log
6262
if DEBUG:
6363
cmd += " --reload"
64-
p = subprocess.Popen(cmd, shell=True, stdout=sys.stdout, stderr=sys.stderr)
64+
p = subprocess.call(cmd, shell=True, stdout=sys.stdout, stderr=sys.stderr)
6565
return p
6666

6767

@@ -146,7 +146,6 @@ def stop_service():
146146
choices=("all", "gunicorn", "celery", "beat"),
147147
help="The service to start",
148148
)
149-
print("开始执行")
150149
args = parser.parse_args()
151150
try:
152151
start_service(args.services)

0 commit comments

Comments
 (0)