Skip to content

fix(cli): hide windows console windows for runner/claude subprocesses - #242

Merged
tiann merged 1 commit into
tiann:mainfrom
jlovec:fix/windows-hide-console-popups
Mar 4, 2026
Merged

fix(cli): hide windows console windows for runner/claude subprocesses#242
tiann merged 1 commit into
tiann:mainfrom
jlovec:fix/windows-hide-console-popups

Conversation

@jlovec

@jlovec jlovec commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Hide transient Windows console windows for detached runner/session subprocesses
  • Hide Windows console window for Claude SDK child process spawn
  • Add regression tests for spawnHappyCLI windowsHide behavior on win32/non-win32 paths

Test plan

  • cd cli && bunx vitest run src/utils/spawnHappyCLI.test.ts
  • cd cli && bun run typecheck
  • Manual verification on Windows: no foreground popup during runner/session startup

Prevent transient cmd window popups on Windows by enabling windowsHide in detached runner spawns and Claude SDK child process spawns. Add regression tests for spawnHappyCLI windowsHide behavior across win32 and non-win32 cases.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings

  • None.

Summary

  • No issues found in diff. Residual risk: Windows console-hide behavior not exercised in this review; relies on unit tests/manual verification noted in PR.

Testing

  • Not run (automation)

@tiann
tiann merged commit 55f08bd into tiann:main Mar 4, 2026
2 checks passed
@jlovec
jlovec deleted the fix/windows-hide-console-popups branch March 8, 2026 04:12
jasonczc pushed a commit to jasonczc/haqi that referenced this pull request Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants