You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Builds on c24727f (which suppressed the cmd.exe window in
tool::bash::build_shell_command) by extracting a reusable
`platform::suppress_child_console{,_async}` helper and applying it to
the other server-side spawns of console-subsystem programs. Same root
cause: the server runs `DETACHED_PROCESS`, has no inherited console,
and Windows allocates a fresh console window for any console-subsystem
child unless `CREATE_NO_WINDOW` (0x08000000) is set. Stdio is already
piped on every site touched, so the suppression is purely cosmetic
(no functional change to tool I/O).
Sites swept:
- src/tool/bash.rs: refactored inline flag from c24727f to call helper.
- src/server/client_actions.rs: input shell command (cmd.exe /C ...).
- src/tool/ambient.rs: git rev-parse probe in ambient runner.
- src/tool/selfdev/status.rs: git status --porcelain.
- src/tool/selfdev/build_queue.rs: build streaming command (cargo etc).
- src/agent/utils.rs: git_output (used by image side-panel hooks).
The helper is a no-op on non-Windows platforms via cfg gates.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments