MCPcopy
hub / github.com/wavetermdev/waveterm / ShellProc

Struct ShellProc

pkg/shellexec/shellexec.go:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49type ShellProc struct {
50 ConnName string
51 Cmd ConnInterface
52 CloseOnce *sync.Once
53 DoneCh chan any // closed after proc.Wait() returns
54 WaitErr error // WaitErr is synchronized by DoneCh (written before DoneCh is closed) and CloseOnce
55}
56
57func (sp *ShellProc) Close() {
58 sp.Cmd.KillGraceful(DefaultGracefulKillWait)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected