If the Node.js process is spawned with an IPC channel (see the Child Process and Cluster documentation), the 'disconnect' event will be emitted when the IPC channel is closed. Event: 'exit'# code <integer> The 'exit' event is emitted when the Node.js process is about to exit as a result of either: The process.exit() method being called explicitly; The Node.js event loop no longer having any additi

