Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide JS hooks for executing in-process #2

Open
bvibber opened this issue Apr 30, 2019 · 1 comment
Open

Provide JS hooks for executing in-process #2

bvibber opened this issue Apr 30, 2019 · 1 comment

Comments

@bvibber
Copy link
Owner

bvibber commented Apr 30, 2019

The run command in common.js does a pass-through and then exits. Should generalize to allow running emcc etc via a programmatic interface, which can be used by things like grunt plugins for fancy build stuff.

@lastmjs
Copy link

lastmjs commented Dec 23, 2019

I'm the author of Zwitterion, and I would absolutely love to see a programmatic JS API. What I really need to make C/C++ support awesome in Zwitterion is a local install of emsdk and emcc, which it looks like this project does, plus a programmatic JS API so that I don't have to spawn processes and deal with the command line manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants