MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / #doKill

Method #doKill

source code/utils/ShellCommand.ts:339–345  ·  view source on GitHub ↗
(code?: number)

Source from the content-addressed store, hash-verified

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

Callers 3

#startSizeWatchdogMethod · 0.95
killMethod · 0.95
#handleTimeoutMethod · 0.80

Calls 1

#resolveExitCodeMethod · 0.95

Tested by

no test coverage detected