Skip to content

fix: hide child process windows on Windows#472

Open
haosenwang1018 wants to merge 2 commits intocovibes:mainfrom
haosenwang1018:fix/windows-hide-child-processes
Open

fix: hide child process windows on Windows#472
haosenwang1018 wants to merge 2 commits intocovibes:mainfrom
haosenwang1018:fix/windows-hide-child-processes

Conversation

@haosenwang1018
Copy link
Copy Markdown

Summary

  • add windowsHide: true to the detached watcher fork() path
  • add windowsHide: true to the watcher child spawn path
  • add windowsHide: true to the agent task executor and Claude task runner spawn paths

Why

Issue #459 reports that zeroshot spawns visible console windows for child Node.js processes on Windows.

Node's spawn() / fork() create those windows by default on Windows unless windowsHide: true is set. Since zeroshot launches background watcher/task processes, those extra consoles are just UI noise and make the tool feel broken in desktop use.

Testing

  • ./node_modules/.bin/mocha tests/providers/detection.test.js
  • manually verified the four Windows-related spawn/fork call sites now all set windowsHide: true

Fixes #459

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.

Windows: spawned Node.js processes create visible console windows (fix: windowsHide: true)

1 participant