diff --git a/doc/api/process.md b/doc/api/process.md index 3a209d98e6e1dd..f01417cda4a531 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1373,6 +1373,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