Commit 4e8e4e8
committed
Fix Windows: Use taskkill /T directly without graceful termination
On Windows, process.terminate() only kills the parent process, not
children. By the time we timeout and call taskkill /T, the parent
is already dead and child processes might not be properly associated.
Instead, directly use taskkill /T on Windows to kill the entire
process tree in one operation. This matches what the debug scripts
showed - taskkill /T works when called directly on a live parent.1 parent 791b6dd commit 4e8e4e8
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
0 commit comments