diff --git a/server-console/src/modules/hf-process.js b/server-console/src/modules/hf-process.js index cf94ec6b29..35da07af9c 100644 --- a/server-console/src/modules/hf-process.js +++ b/server-console/src/modules/hf-process.js @@ -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); + }); } },