I am spawning a child process with node, which is an external application on OSX. The problem is that this external application appears BEHIND the terminal window. I want this application to appear in the front, on top.
My code looks something like this:
var spawn = require('child_process').spawn,
process = spawn('myApp');
The application launches, but it does not show up to the user because it's behind the terminal window. I want it to be in front.