github.com/cspotcode/docker-cli@v20.10.0-rc1.0.20201201121459-3faad7acc5b8+incompatible/cli/connhelper/commandconn/session_unix.go (about) 1 // +build !windows 2 3 package commandconn 4 5 import ( 6 "os/exec" 7 ) 8 9 func createSession(cmd *exec.Cmd) { 10 // for supporting ssh connection helper with ProxyCommand 11 // https://github.com/docker/cli/issues/1707 12 cmd.SysProcAttr.Setsid = true 13 }