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