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
Send signals to process group for complete cleanup
Use kill(-pid, sig) instead of kill(pid, sig) in Process.Stop()
and terminateStaleRunner() so the entire runner process group is
terminated. The runner already starts with Setsid: true (PGID == PID),
so this is safe and strictly better when the runner has children.
Guard against unsafe PIDs (0 and 1) to prevent catastrophic
kill(0)/kill(-1) calls. Use errors.Is for ESRCH checks.
Closes#4
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments