(pid: number)
| 14 | getNodeRuntimeCommand, |
| 15 | normalizeCommandLookupOutput, |
| 16 | } from './process-launch.js' |
| 17 | |
| 18 | function isAlive(pid: number): boolean { |
| 19 | try { |
| 20 | process.kill(pid, 0) |
| 21 | return true |
| 22 | } catch { |
| 23 | return false |
| 24 | } |
| 25 | } |
| 26 |
no test coverage detected