Skip to content

Commit

Permalink
doc: revise description of process.ppid
Browse files Browse the repository at this point in the history
PR-URL: #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 MylesBorins committed Nov 3, 2020
1 parent 123441d commit ed949d7
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 @@ -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}`);
Expand Down

0 comments on commit ed949d7

Please sign in to comment.