You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4cf26f9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(process): handle async spawn errors in taskkill force-kill fallback
Node's spawn() emits 'error' asynchronously when the binary is missing or
fails to execute. The try/catch at the force-kill taskkill site (line 546)
only catches synchronous throws, so an async spawn error permanently
leaks the child process tree on Windows.
Add an 'error' event listener that falls back to child.kill("SIGKILL"),
mirroring the existing catch-block behavior.
Fixes#101381
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
0 commit comments