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

Method Wait

pkg/shellexec/conninterface.go:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func (cw CmdWrap) Wait() error {
58 cw.WaitOnce.Do(func() {
59 cw.WaitErr = cw.Cmd.Wait()
60 })
61 return cw.WaitErr
62}
63
64// only valid once Wait() has returned (or you know Cmd is done)
65func (cw CmdWrap) ExitCode() int {

Callers

nothing calls this directly

Calls 1

WaitMethod · 0.65

Tested by

no test coverage detected