mirror of https://github.com/docker/cli.git
14 lines
238 B
Go
14 lines
238 B
Go
|
// +build !windows
|
||
|
|
||
|
package commandconn
|
||
|
|
||
|
import (
|
||
|
"os/exec"
|
||
|
)
|
||
|
|
||
|
func createSession(cmd *exec.Cmd) {
|
||
|
// for supporting ssh connection helper with ProxyCommand
|
||
|
// https://github.com/docker/cli/issues/1707
|
||
|
cmd.SysProcAttr.Setsid = true
|
||
|
}
|