Commits
Click on a commit to change the comparison rangeFix uvw not terminating child uv process when killed
On Windows, use Job Objects to ensure the child `uv.exe` process is
terminated when wrapper processes (`uvw.exe`, `uvx.exe`) are killed.
This is important for tools like Task Scheduler that terminate the
wrapper process.
The fix uses the `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` flag which
instructs Windows to terminate all processes associated with the job
when the job object handle is closed (which happens when the wrapper
is terminated).
This change:
- Creates a shared `windows_spawn` module with the Job Object logic
- Updates both `uvw.exe` and `uvx.exe` to use this shared module
- Matches the approach used by the trampoline in `bounce.rs`
Closes #17492