MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / isProcessRunning

Function isProcessRunning

scripts/feishu/run-db-tests.mjs:215–225  ·  view source on GitHub ↗
(pid)

Source from the content-addressed store, hash-verified

213}
214
215function isProcessRunning(pid) {
216 if (!pid) {
217 return false;
218 }
219 try {
220 process.kill(pid, 0);
221 return true;
222 } catch {
223 return false;
224 }
225}
226
227async function deleteNeonBranch(input) {
228 const env = {

Callers 1

cleanupRecordedBranchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected