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

Method #doKill

src/utils/ShellCommand.ts:337–343  ·  view source on GitHub ↗
(code?: number)

Source from the content-addressed store, hash-verified

335 }
336
337 #doKill(code?: number): void {
338 this.#status = 'killed'
339 if (this.#childProcess.pid) {
340 treeKill(this.#childProcess.pid, 'SIGKILL')
341 }
342 this.#resolveExitCode(code ?? SIGKILL)
343 }
344
345 kill(): void {
346 this.#doKill()

Callers 3

#startSizeWatchdogMethod · 0.95
killMethod · 0.95
#handleTimeoutMethod · 0.80

Calls 1

#resolveExitCodeMethod · 0.95

Tested by

no test coverage detected