mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-18 02:49:23 +08:00
f26a01137d
On Windows, opening the Settings > About section would spawn three terminal windows when checking CLI tool versions (claude, codex, gemini). Root cause: - scan_cli_version() directly executed .cmd files, but child processes (node.exe) spawned by these batch scripts didn't inherit CREATE_NO_WINDOW - PATH separator used Unix-style ":" instead of Windows ";" Fix: - Wrap command execution with `cmd /C` to ensure all child processes run within the same hidden console session - Use platform-specific PATH separators via conditional compilation