Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ isAlive
Function
isAlive
__tests__/index-command.test.ts:53–60 ·
view source on GitHub ↗
(pid: number)
Source
from the content-addressed store, hash-verified
51
}
52
53
function
isAlive(pid: number): boolean {
54
try {
55
process.kill(pid, 0);
56
return
true;
57
} catch {
58
return
false;
59
}
60
}
61
62
/**
63
* A live process standing in
for
a daemon that does not answer its socket.
Callers
1
index-command.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected