mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Add mac interface-run detection to server-console
This commit is contained in:
parent
3deb3bc771
commit
5949679c0a
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue