So I have a server created using node.js, to run the server you have to navigate to the same directory as the "server.js" file and in terminal run the command node server.js this starts the server just fine and control+c closes it.
Now my question is, how can I tuck all this behind an OSX Cocoa Mac app (objective-c). Ideally if this was to be made into distributable software, I wouldn't expect users to open up terminal and run commands. So im thinking a start button to somehow discreetly run that command and start the server and a stop button to close the server. Ive looked around the web a bit and cant seem to find a solution.
This should be pretty easy with node-webkit. You can create your interface with html/css/javascript and simply require or use other methods to start your server.