ef45246ea06e1c7f43d4cfb9aed6b7a209eb11e0
exec.CommandContext only kills the direct child (the shell script), leaving grandchildren (john, gpu-burn, etc.) as orphans. Set Setpgid so each SAT job runs in its own process group, then send SIGKILL to the whole group (-pgid) in the Cancel hook. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
Go
81.5%
Shell
13.8%
C
4.5%
Dockerfile
0.2%