Files
rpiRadio/ProjectNow/NodeServer/node_modules/node-cmd/example/getPID.js
2018-05-19 02:20:19 +02:00

5 lines
92 B
JavaScript

var cmd=require('../cmd.js');
var processRef=cmd.get('node');
console.log(processRef.pid);