Skip to content

fix: quote process.execPath for headless workers on Windows (#1446)#1451

Open
sjhddh wants to merge 1 commit intoruvnet:mainfrom
sjhddh:fix/issue-1446
Open

fix: quote process.execPath for headless workers on Windows (#1446)#1451
sjhddh wants to merge 1 commit intoruvnet:mainfrom
sjhddh:fix/issue-1446

Conversation

@sjhddh
Copy link
Copy Markdown

@sjhddh sjhddh commented Mar 26, 2026

Fixes #1446. The daemon's spawn(process.execPath, ...) can crash with ENOENT on Windows if the Node.js installation path contains spaces (e.g. C:\\Program Files\\nodejs\\node.exe). Since shell: true is used on Windows, the path must be quoted to avoid syntax errors in cmd.exe.\n\n*(Refactored using the open-source 0-editor)*\n\n

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: Daemon headless workers return empty output, breaking token optimization

1 participant