MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / #resolveExitCode

Method #resolveExitCode

src/utils/ShellCommand.ts:209–214  ·  view source on GitHub ↗
(code: number)

Source from the content-addressed store, hash-verified

207 }
208
209 #resolveExitCode(code: number): void {
210 if (this.#exitCodeResolver) {
211 this.#exitCodeResolver(code)
212 this.#exitCodeResolver = null
213 }
214 }
215
216 // Note: exit/error listeners are NOT removed here — they're needed for
217 // the result promise to resolve. They clean up when the child process exits.

Callers 3

#exitHandlerMethod · 0.95
#errorHandlerMethod · 0.95
#doKillMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected