MCPcopy Create free account
hub / github.com/ChromeDevTools/chrome-devtools-mcp / isProcessAlive

Function isProcessAlive

tests/e2e/telemetry.test.ts:114–121  ·  view source on GitHub ↗
(pid: number)

Source from the content-addressed store, hash-verified

112}
113
114function isProcessAlive(pid: number): boolean {
115 try {
116 process.kill(pid, 0);
117 return true;
118 } catch {
119 return false;
120 }
121}
122
123async function waitForProcessExit(
124 pid: number,

Callers 2

waitForProcessExitFunction · 0.85
runTelemetryTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected