fix(windows): add windowsHide option to prevent terminal popup #117

Merged
jonas.hanisch merged 1 commit from fix/104-windows-terminal-popup into main 2026-01-24 11:18:56 +00:00
Owner

Summary

  • Adds windowsHide: true to all spawn() calls
  • Prevents visible terminal window from flashing on every hook execution on Windows

Problem

On Windows, a terminal/console window pops up and closes on every hook execution. This is extremely disruptive to the user experience.

Solution

Adding windowsHide: true to Node.js spawn() options prevents the console window from appearing while still allowing the process to run normally in the background.

Files changed:

  • packages/hooks/src/handlers/session-start.ts - SSE writer spawn
  • packages/backend/src/services/worker-process-manager.ts - Worker process spawn

Test Plan

  • Test on Windows 10/11 with hooks enabled
  • Verify no terminal window appears during normal operation
  • Verify processes still spawn and function correctly

Fixes #104

🤖 Generated with Claude Code

## Summary - Adds `windowsHide: true` to all `spawn()` calls - Prevents visible terminal window from flashing on every hook execution on Windows ## Problem On Windows, a terminal/console window pops up and closes on every hook execution. This is extremely disruptive to the user experience. ## Solution Adding `windowsHide: true` to Node.js `spawn()` options prevents the console window from appearing while still allowing the process to run normally in the background. **Files changed:** - `packages/hooks/src/handlers/session-start.ts` - SSE writer spawn - `packages/backend/src/services/worker-process-manager.ts` - Worker process spawn ## Test Plan - [ ] Test on Windows 10/11 with hooks enabled - [ ] Verify no terminal window appears during normal operation - [ ] Verify processes still spawn and function correctly Fixes #104 🤖 Generated with [Claude Code](https://claude.ai/code)
fix(windows): add windowsHide option to prevent terminal popup
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 42s
CI / validate-plugin (pull_request) Successful in 35s
c35d90152e
On Windows, spawned processes would cause a visible terminal window
to flash on every hook execution. This was extremely disruptive.

Adding `windowsHide: true` to all spawn() calls prevents the console
window from appearing while still allowing the process to run normally.

Fixes #104

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jonas.hanisch force-pushed fix/104-windows-terminal-popup from c35d90152e
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 42s
CI / validate-plugin (pull_request) Successful in 35s
to dfa3fe6a1b
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 1m18s
CI / validate-plugin (pull_request) Successful in 1m10s
2026-01-24 10:39:21 +00:00
Compare
jonas.hanisch force-pushed fix/104-windows-terminal-popup from dfa3fe6a1b
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 1m18s
CI / validate-plugin (pull_request) Successful in 1m10s
to c161c85edf
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 1m18s
CI / validate-plugin (pull_request) Successful in 39s
2026-01-24 10:42:24 +00:00
Compare
jonas.hanisch force-pushed fix/104-windows-terminal-popup from c161c85edf
All checks were successful
CI / check (pull_request) Successful in 0s
CI / build (pull_request) Successful in 1m18s
CI / validate-plugin (pull_request) Successful in 39s
to b24f263d11
Some checks failed
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Failing after 2s
CI / validate-plugin (pull_request) Has been skipped
2026-01-24 10:53:33 +00:00
Compare
jonas.hanisch force-pushed fix/104-windows-terminal-popup from b24f263d11
Some checks failed
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Failing after 2s
CI / validate-plugin (pull_request) Has been skipped
to eab0cd29a3
All checks were successful
CI / check (pull_request) Successful in 1s
CI / build (pull_request) Successful in 34s
CI / validate-plugin (pull_request) Successful in 27s
2026-01-24 11:16:50 +00:00
Compare
jonas.hanisch deleted branch fix/104-windows-terminal-popup 2026-01-24 11:18:56 +00:00
Sign in to join this conversation.
No description provided.