process.disconnect()
Close the IPC channel to the parent process, allowing this child to exit gracefully once there are no other connections keeping it alive.
Identical to the parent process's ChildProcess.disconnect().
If Node.js was not spawned with an IPC channel, process.disconnect() will be undefined.
Please login to continue.