diff --git a/doc/api/process.md b/doc/api/process.md index 4d238a3d7eb900..d75d935834be6c 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -763,8 +763,8 @@ and [Cluster][] documentation), the `process.disconnect()` method will close the IPC channel to the parent process, allowing the child process to exit gracefully once there are no other connections keeping it alive. -The effect of calling `process.disconnect()` is that same as calling the parent -process's [`ChildProcess.disconnect()`][]. +The effect of calling `process.disconnect()` is the same as calling +[`ChildProcess.disconnect()`][] from the parent process. If the Node.js process was not spawned with an IPC channel, `process.disconnect()` will be `undefined`.