MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / processIsRunning

Function processIsRunning

scripts/studio-provider-bridge.mjs:237–244  ·  view source on GitHub ↗
(pid)

Source from the content-addressed store, hash-verified

235}
236
237function processIsRunning(pid) {
238 try {
239 process.kill(pid, 0);
240 return true;
241 } catch {
242 return false;
243 }
244}
245
246function printRecentServiceLog() {
247 const lines = recentServiceLogLines();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected