baur icon indicating copy to clipboard operation
baur copied to clipboard

exec: kill command when context is cancelled

Open fho opened this issue 5 years ago • 0 comments

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

fho avatar Jun 25 '20 16:06 fho