Commit 65e6edc0 authored by maybites's avatar maybites
Browse files

revert the change for OSX of rinning ultragrid CLI in a separate thread.

parent 7f1407be
...@@ -68,10 +68,9 @@ function execute(){ ...@@ -68,10 +68,9 @@ function execute(){
for(var i = 1; i < myCommands.length; i++){ for(var i = 1; i < myCommands.length; i++){
myCom.push(myCommands[i]); myCom.push(myCommands[i]);
} }
//myCom += '\"'; //outlet(1, "open", "-g", "-a", myCommands[0], "--args", myCom);
outlet(1, "open", "-g", "-a", myCommands[0], "--args", myCom); //outlet(0, "ps", "aux", "|", "grep", "uv", "|", "grep", "-v", "awk", "|", "awk", '\'/'+ myPortNumber +'/', '{print', "pid ", '\\$2}\'');
outlet(0, "ps", "aux", "|", "grep", "uv", "|", "grep", "-v", "awk", "|", "awk", '\'/'+ myPortNumber +'/', '{print', "pid ", '\\$2}\''); outlet(0, myCommands);
//outlet(0, myCommands);
} }
isRunning = true; isRunning = true;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment