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

Method ExitCode

pkg/wsl/wsl-win.go:81–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 return c.waitErr
80}
81func (c *WslCmd) ExitCode() int {
82 state := c.c.ProcessState
83 if state == nil {
84 return -1
85 }
86 return state.ExitCode()
87}
88
89func (c *WslCmd) ExitSignal() string {
90 return ""

Callers

nothing calls this directly

Calls 1

ExitCodeMethod · 0.65

Tested by

no test coverage detected