Lines Matching refs:exit
23 // test-cluster-worker-exit.js
24 // verifies that, when a child process exits (by calling `process.exit(code)`)
26 // - the exitCode and signalCode are correct in the 'exit' event
41 process.exit(EXIT_CODE);
49 cluster_emitExit: [1, "the cluster did not emit 'exit'"],
53 worker_emitExit: [1, "the worker did not emit 'exit'"],
77 cluster.on('exit', common.mustCall((worker) => {
94 worker.once('exit', common.mustCall((exitCode, signalCode) => {
112 process.exit(1);
115 process.exit(0);