diff options
author | cjihrig <cjihrig@gmail.com> | 2019-06-20 13:37:17 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-06-22 13:39:58 -0400 |
commit | 3fd54510d0e2da2b14415d2a210eb5dbed20df94 (patch) | |
tree | be47d7663a69b9137b7e8d5ac8afe44097050625 /doc/api/process.md | |
parent | a03f256409cec309955a96784300643f241392b9 (diff) | |
download | android-node-v8-3fd54510d0e2da2b14415d2a210eb5dbed20df94.tar.gz android-node-v8-3fd54510d0e2da2b14415d2a210eb5dbed20df94.tar.bz2 android-node-v8-3fd54510d0e2da2b14415d2a210eb5dbed20df94.zip |
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: https://github.com/nodejs/node/pull/28328
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'doc/api/process.md')
-rw-r--r-- | doc/api/process.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/process.md b/doc/api/process.md index 4d238a3d7e..d75d935834 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`. |