From f25ef639f2d127bb991b6bf30913d1da832816c0 Mon Sep 17 00:00:00 2001 From: qwint Date: Sun, 8 Jun 2025 17:43:23 -0500 Subject: [PATCH] Launcher: Fix Cli Components when installed to a directory with a space (#5091) --- Launcher.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Launcher.py b/Launcher.py index 82326aac..5720012c 100644 --- a/Launcher.py +++ b/Launcher.py @@ -196,7 +196,8 @@ def get_exe(component: str | Component) -> Sequence[str] | None: def launch(exe, in_terminal=False): if in_terminal: if is_windows: - subprocess.Popen(['start', *exe], shell=True) + # intentionally using a window title with a space so it gets quoted and treated as a title + subprocess.Popen(["start", "Running Archipelago", *exe], shell=True) return elif is_linux: terminal = which('x-terminal-emulator') or which('gnome-terminal') or which('xterm')