mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-04-07 14:41:19 +08:00
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