diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 18ba0095620cc9..e60416ed2c22d0 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -536,9 +536,9 @@ spawn('prg', [], { stdio: ['pipe', null, null, null, 'pipe'] }); *It is worth noting that when an IPC channel is established between the parent and child processes, and the child is a Node.js process, the child is launched with the IPC channel unreferenced (using `unref()`) until the -child registers an event handler for the `process.on('disconnected')` event. -This allows the child to exit normally without the process being held open -by the open IPC channel.* +child registers an event handler for the `process.on('disconnect')` event +or the `process.on('message')` event.This allows the child to exit normally +without the process being held open by the open IPC channel.* See also: [`child_process.exec()`][] and [`child_process.fork()`][]