(raw: string | undefined)
| 578 | } |
| 579 | |
| 580 | function parseHostPpid(raw: string | undefined): number | null { |
| 581 | if (raw === undefined || raw === '') return null; |
| 582 | const parsed = Number(raw); |
| 583 | if (!Number.isInteger(parsed) || parsed <= 1) return null; |
| 584 | return parsed; |
| 585 | } |
| 586 | |
| 587 | function isProcessAliveLocal(pid: number): boolean { |
| 588 | try { |
no outgoing calls
no test coverage detected