The OS command that stops process `pid`, for advice text.
(pid: number, force = false)
| 357 | |
| 358 | /** The OS command that stops process `pid`, for advice text. */ |
| 359 | function stopCommand(pid: number, force = false): string { |
| 360 | if (process.platform === 'win32') return `taskkill /PID ${pid} /F`; |
| 361 | return force ? `kill -9 ${pid}` : `kill ${pid}`; |
| 362 | } |
| 363 | |
| 364 | /** |
| 365 | * What `codegraph index` reports when {@link stopDaemonAt} left the project's |
no outgoing calls
no test coverage detected