We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ca7a45 commit 48dd4d9Copy full SHA for 48dd4d9
modules/launch_utils.py
@@ -9,6 +9,7 @@
9
import importlib.metadata
10
import platform
11
import json
12
+import shlex
13
from functools import lru_cache
14
15
from modules import cmd_args, errors
@@ -461,7 +462,7 @@ def configure_for_tests():
461
462
463
464
def start():
- print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with arguments: {' '.join(sys.argv[1:])}")
465
+ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'Web UI'} with arguments: {shlex.join(sys.argv[1:])}")
466
import webui
467
if '--nowebui' in sys.argv:
468
webui.api_only()
0 commit comments