DockerCLI/cli/connhelper/commandconn/pdeathsig_linux.go

11 lines
137 B
Go
Raw Normal View History

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