Tiny print launch command with shlex (#16010)

This commit is contained in:
Liangsheng Yin
2025-12-29 11:26:46 +08:00
committed by GitHub
parent 2ec6fa3c54
commit a435f55d18
4 changed files with 11 additions and 7 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import logging
import os
import random
import re
import shlex
import subprocess
import sys
import threading
@@ -632,7 +633,7 @@ def popen_launch_server(
if api_key:
command += ["--api-key", api_key]
print(f"command={' '.join(command)}")
print(f"command={shlex.join(command)}")
if return_stdout_stderr:
process = subprocess.Popen(