Closed
Description
What version of Go are you using (go version
)?
go version go1.8.3 linux/amd64
Currently, process started from exec.CommandContext
will be killed by SIGKILL
when the context is done before the process finished. But in some cases, the process should be allow a chance to clean up then exit cleanly ( by received an expected signal like SIGTERM
for example). We received a similar request in containerd/go-runc#21