baur
baur copied to clipboard
exec: kill command when context is cancelled
To ensure that a running task is killed when a timeout passed via the cmdline is exceeded, Cmd.Run() of the internal/exec pkg must support to kill the process (+ it's children, use a process group?) when a passed ctx is cancelled