Artifact 6b3cf5be8347f39565ec522572a8f1553cf95370f92b15727675e96fb113bba3:
- File internal/runner/become_other.go — part of check-in [dc105397c1] at 2026-10-01 02:35:52 on branch runner-stops-cancelled-tasks — The runner stops a task whose run was cancelled, children and all, and reports nothing for it (user: zeitgeist, size: 508) [annotate] [blame] [check-ins using] [more...]
//go:build !unix package runner import ( "errors" "os/exec" "time" ) // become has no counterpart off Unix: job users are Unix accounts // reached through sudo, and --job-users is refused before a job runs. func become(string, []string, []string) error { return errors.New("job-env runs only on Unix, where --job-users does") } // stopTogether off Unix kills the command itself, and stops waiting on // its output a little after. func stopTogether(cmd *exec.Cmd) { cmd.WaitDelay = 5 * time.Second }