MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / ExitCode

Method ExitCode

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

Source from the content-addressed store, hash-verified

170}
171
172func (sw SessionWrap) ExitCode() int {
173 waitErr := sw.WaitErr
174 if waitErr == nil {
175 return -1
176 }
177 return ExitCodeFromWaitErr(waitErr)
178}
179
180func (sw SessionWrap) ExitSignal() string {
181 if sw.WaitErr == nil {

Callers

nothing calls this directly

Calls 1

ExitCodeFromWaitErrFunction · 0.85

Tested by

no test coverage detected