fix: kill the whole process tree on Windows spawn-test timeout (#13) #50
Reference in New Issue
Block a user
Delete Branch "fix/13-windows-tree-kill"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #13.
taskkill /PID <pid> /T /Fvia_kill_process_tree_windows()—Popen.kill()only terminated the direct child, so runner-style commands (npx→node→ server) leaked the real server process on every spawn test.CREATE_NO_WINDOWso the windowed exe doesn't flash a console window per Test launch / Test all.tasklist) the child is dead after the spawn-test kill — this runs for real on the windows-latest CI job.🤖 Generated with Claude Code