mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:58:27 +02: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') {
|
} else if (os.type == 'Darwin') {
|
||||||
console.log("TODO IsRunning 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