diff --git a/doc/api/process.md b/doc/api/process.md index ef8b89abfb877b..67d311d9a07fa2 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1326,6 +1326,19 @@ system platform on which the Node.js process is running. For instance console.log(`This platform is ${process.platform}`); ``` +## process.ppid + + +* {integer} + +The `process.ppid` property returns the PID of the current parent process. + +```js +console.log(`The parent process is pid ${process.ppid}`); +``` + ## process.release