DockerCLI/cli/connhelper/commandconn/commandconn_linux.go

13 lines
166 B
Go

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