Skip to content

Commit

Permalink
doc: revise description of process.ppid
Browse files Browse the repository at this point in the history
PR-URL: nodejs#35589
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
PoojaDurgad authored and joesepi committed Oct 22, 2020
1 parent de85b6e commit 3455f18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,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}`);
Expand Down

0 comments on commit 3455f18

Please sign in to comment.