MacGapProject / MacGap1

Desktop WebKit wrapper for HTML/CSS/JS applications.
Other
3.55k stars 209 forks source link

Any way to run shell scripts / command-line commands? #89

Closed jeff-h closed 10 years ago

jeff-h commented 10 years ago

I am wondering if there is anything in the Macgap api which would allow me to run a shell script or shell command?

I'd want to be able to pass args and receive a response.

jeff-h commented 10 years ago

The Nodelike project (see https://github.com/node-app/Nodelike) provides a node.js-compatible API to web views. We've successfully combined Nodelike with MacGap, meaning javascript in MacGap now has access to both the usual MacGap API as well as the node.js API.

See: https://github.com/node-app/macgap for a pre-combined package of MacGap plus Nodelike https://github.com/node-app/Nodelike/wiki/How-to-integrate-Nodelike-with-MacGap