diff --git a/doc/api/process.md b/doc/api/process.md index ef1a916a43653f..de3202c5d88a11 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1416,6 +1416,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