Is there some way to check if an arbitrary PID is running or alive on the system, using Node.js? Assume that the Node.js script has the appropriate permissions to read
I needed to check for running pid's in a project as well. I took this answer of using kill -0 and wrapped it up in a module called is-running https://npmjs.org/package/is-running