Lines Matching defs:process
21 } = require('internal/process/execution');
91 // If a custom hook is calling `process.exit`, we should wake up the main thread
93 const { exit } = process;
94 process.exit = function(code) {
95 syncCommPort.postMessage(wrapMessage('exit', code ?? process.exitCode));
144 process.on('beforeExit', () => {
179 process.on('uncaughtException', errorHandler);
218 process.off('uncaughtException', errorHandler);
245 process.off('uncaughtException', errorHandler);
247 process._fatalException(err);