mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: revise description of process.ppid
PR-URL: https://github.com/nodejs/node/pull/35589 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
a9ac75480f
commit
bfff4fc3c9
1 file changed
+2
-1
+2
-1
@@ -1699,7 +1699,8 @@ added:
|
||||
|
||||
* {integer}
|
||||
|
||||
The `process.ppid` property returns the PID of the current parent process.
|
||||
The `process.ppid` property returns the PID of the parent of the
|
||||
current process.
|
||||
|
||||
```js
|
||||
console.log(`The parent process is pid ${process.ppid}`);
|
||||
|
||||
Reference in new issue
Block a user