Skip to content
Browse files

doc: fix typo in process.disconnect() docs

"that" should be "the" in this sentence. This commit also
restructures the sentence to avoid the word "process's"

PR-URL: #28328
Reviewed-By: Richard Lau <>
Reviewed-By: Trivikram Kamat <>
Reviewed-By: Rich Trott <>
Reviewed-By: Luigi Pinca <>
Reviewed-By: Ruben Bridgewater <>
  • Loading branch information...
cjihrig authored and targos committed Jun 20, 2019
1 parent c9226f5 commit 64f8530adc073711295667c90592468f14770b78
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/api/
@@ -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`.

0 comments on commit 64f8530

Please sign in to comment.
You can’t perform that action at this time.