MCPcopy Create free account
hub / github.com/delinoio/oss / exitLikeChild

Function exitLikeChild

scripts/spawn-dev-server.mjs:275–282  ·  view source on GitHub ↗
({ code, signal })

Source from the content-addressed store, hash-verified

273}
274
275export function exitLikeChild({ code, signal }) {
276 if (signal) {
277 process.kill(process.pid, signal);
278 return;
279 }
280
281 process.exit(code ?? 0);
282}

Callers 4

development.mjsFile · 0.90
tauri-cli.mjsFile · 0.90

Calls 2

killMethod · 0.80
exitMethod · 0.80

Tested by

no test coverage detected