Any way to run shell scripts / command-line commands?
Closed this issue · 1 comments
jeff-h commented
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
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