blackberry / webworks-gui

GUI Tool for WebWorks 2.0
https://developer.blackberry.com/html5/
Apache License 2.0
3 stars 5 forks source link

avoid batch files #112

Closed jsoref closed 10 years ago

jsoref commented 10 years ago

@rcruz @kflores772 here's a draft which at least seems to work on OS X (I'll test w/ Windows tomorrow).

rcruz commented 10 years ago

To clarify, this change skips the "webworks" command and directly runs node with a particular file? While this may run the same files in node, the action is no longer exactly equivalent to running a "webworks" command on terminal. This would mean we still have a problem with stdout/stderr on the "webworks" command, but we are avoiding it by implementing a workaround into the GUI. @bryanhiggins @kwallis Is this the approach we want to take?

bryanhiggins commented 10 years ago

AFAIK this does not affect the console only the values returned in the child process callback

rcruz commented 10 years ago

Quick test shows this change works on WinXP

rcruz commented 10 years ago

r+, merged