DockerCLI/cli/connhelper/commandconn/pdeathsig_linux.go

11 lines
137 B
Go

package commandconn
import (
"os/exec"
"syscall"
)
func setPdeathsig(cmd *exec.Cmd) {
cmd.SysProcAttr.Pdeathsig = syscall.SIGKILL
}