MCPcopy Create free account
hub / github.com/docker/cli / createSession

Function createSession

cli/connhelper/commandconn/session_unix.go:9–13  ·  view source on GitHub ↗
(cmd *exec.Cmd)

Source from the content-addressed store, hash-verified

7)
8
9func 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}

Callers 1

NewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…