MCPcopy Index your code
hub / github.com/1Panel-dev/KubePi / LocalCommand

Struct LocalCommand

thirdparty/gotty/backend/localcommand/local_command.go:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17)
18
19type LocalCommand struct {
20 command string
21 argv []string
22
23 closeSignal syscall.Signal
24 closeTimeout time.Duration
25
26 cmd *exec.Cmd
27 pty *os.File
28 ptyClosed chan struct{}
29}
30
31func New(command string, argv []string, options ...Option) (*LocalCommand, error) {
32 cmd := exec.Command(command, argv...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected