Summary
On Windows, clicking the gear button to open Settings causes several console/terminal windows to appear briefly and then close.
This does not appear to be a machine-specific shell configuration problem. The Settings window opens on Integrations by default, and mounting that page immediately runs the integration detection sweep. The sweep launches installed CLI tools as ordinary child processes, but the Windows background probes do not use CREATE_NO_WINDOW.
Environment
- OS: Windows 11 x64, 25H2 (build 26200.8875)
- Sync: Windows x64 build installed with the official setup executable
- CLI tools found on
PATH on the affected machine: Claude Code (claude.exe), Codex (codex.exe), and Antigravity (agy.exe)
Steps to reproduce
- Launch the Sync desktop UI on Windows.
- Click the gear button to open Settings.
- Observe several console windows appear and disappear while the Integrations page is checking installed tools.
Actual behavior
Multiple console/terminal windows flash on screen when Settings opens.
Expected behavior
Integration detection should run silently in the background. Opening Settings should not create any OS console windows.
Source analysis
Suggested fix
Add a shared helper for non-interactive/background Command executions that applies CREATE_NO_WINDOW on Windows, and use it for integration detection/version/list probes (and other background CLI queries). Interactive agent processes launched inside the app's PTY should remain unchanged.
It would also be useful to add a Windows smoke test ensuring that opening Settings and refreshing integrations does not create visible console windows.
Summary
On Windows, clicking the gear button to open Settings causes several console/terminal windows to appear briefly and then close.
This does not appear to be a machine-specific shell configuration problem. The Settings window opens on Integrations by default, and mounting that page immediately runs the integration detection sweep. The sweep launches installed CLI tools as ordinary child processes, but the Windows background probes do not use
CREATE_NO_WINDOW.Environment
PATHon the affected machine: Claude Code (claude.exe), Codex (codex.exe), and Antigravity (agy.exe)Steps to reproduce
Actual behavior
Multiple console/terminal windows flash on screen when Settings opens.
Expected behavior
Integration detection should run silently in the background. Opening Settings should not create any OS console windows.
Source analysis
IntegrationsSection:web/src/settings/App.tsx,web/src/settings/App.tsxIntegrationsSectioncallsuseIntegrations(), whose query immediately invokes the detection API:web/src/settings/sections/IntegrationsSection.tsx,web/src/integrations/hooks/useIntegrations.tscrates/sync-desktop/src/integrations_ipc.rscrates/sync-integrations/src/detect.rsstd::process::Command, for example:claude --versionandclaude mcp list:claude_code.rscodex --versionandcodex mcp list --json:codex.rsagy --version:antigravity.rscrates/sync-app/src/main.rsstd::os::windows::process::CommandExt::creation_flags/CREATE_NO_WINDOWin these background probes.Suggested fix
Add a shared helper for non-interactive/background
Commandexecutions that appliesCREATE_NO_WINDOWon Windows, and use it for integration detection/version/list probes (and other background CLI queries). Interactive agent processes launched inside the app's PTY should remain unchanged.It would also be useful to add a Windows smoke test ensuring that opening Settings and refreshing integrations does not create visible console windows.