Skip to content

fix(windows): suppress console popup on child_process calls#498

Open
csw-chen wants to merge 1 commit into
colbymchenry:mainfrom
csw-chen:fix-windows-popup
Open

fix(windows): suppress console popup on child_process calls#498
csw-chen wants to merge 1 commit into
colbymchenry:mainfrom
csw-chen:fix-windows-popup

Conversation

@csw-chen
Copy link
Copy Markdown

Add windowsHide: true to all spawnSync/execFileSync/execSync calls across extraction, installer, sync, and mcp modules to prevent console window popup on Windows when CodeGraph spawns git/npm subprocesses.

Affected subprocess calls:

  • WASM relaunch (spawnSync)
  • git status/rev-parse calls (execFileSync × 4 in extraction)
  • git worktree/hooks detection (execFileSync × 3 in sync)
  • npm install detection (execSync × 2 in installer)

Add windowsHide: true to all spawnSync/execFileSync/execSync calls
across extraction, installer, sync, and mcp modules to prevent
console window popup on Windows when CodeGraph spawns git/npm
subprocesses.

Affected subprocess calls:
- WASM relaunch (spawnSync)
- git status/rev-parse calls (execFileSync × 4 in extraction)
- git worktree/hooks detection (execFileSync × 3 in sync)
- npm install detection (execSync × 2 in installer)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@csw-chen
Copy link
Copy Markdown
Author

1

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.

1 participant