Function: isProcessAlive()
isProcessAlive(
pid):boolean
Defined in: node_modules/.pnpm/@habemus-papadum+aiui-registry@0.1.0/node_modules/@habemus-papadum/aiui-registry/dist/liveness.d.ts:8
Is a process with this PID currently alive? process.kill(pid, 0) sends no signal but performs the existence/permission check: ESRCH means gone, EPERM means alive-but-not-ours (still alive).
Parameters
pid
number
Returns
boolean