MCPcopy
hub / github.com/claude-code-best/claude-code / #abortHandler

Method #abortHandler

src/utils/ShellCommand.ts:186–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184 }
185
186 #abortHandler(): void {
187 // On 'interrupt' (user submitted a new message), don't kill — let the
188 // caller background the process so the model can see partial output.
189 if (this.#abortSignal.reason === 'interrupt') {
190 return
191 }
192 this.kill()
193 }
194
195 #exitHandler(code: number | null, signal: NodeJS.Signals | null): void {
196 const exitCode =

Callers

nothing calls this directly

Calls 1

killMethod · 0.95

Tested by

no test coverage detected