github.1git.de/docker/cli@v26.1.3+incompatible/cli/connhelper/commandconn/session_unix.go (about) 1 //go: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 }