Package Exports
- is-running
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-running) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Test if a process with a given pid is running
Dependency tracking by David
Installation
npm install is-running
Usage
var inspect = require('eyespect').inspector();
var running = require('is-running');
var pid = 897245;
running(pid, function(err, live) {
if (err) {
inspect(err, 'error testing if process is running');
return;
}
inspect(live, 'is process running?');
});you will need to install eyespect to run the above example
npm install eyespect
Test
To run the test suite execute
npm test