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