(code?: number)
| 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() |
no test coverage detected