Add mac interface-run detection to server-console

This commit is contained in:
Roxanne Skelly 2018-09-26 13:00:37 -07:00
parent 3deb3bc771
commit 5949679c0a

View file

@ -275,6 +275,9 @@ Process.prototype = extend(Process.prototype, {
});
} else if (os.type == 'Darwin') {
console.log("TODO IsRunning Darwin");
childProcess.exec('ps cax | grep interface', function (err, stdout, stderr) {
done(stdout.length > 0);
});
}
},