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

Nidium-server: No global.exec function #69

Open
cookiengineer opened this issue Apr 15, 2017 · 1 comment
Open

Nidium-server: No global.exec function #69

cookiengineer opened this issue Apr 15, 2017 · 1 comment

Comments

@cookiengineer
Copy link
Contributor

cookiengineer commented Apr 15, 2017

The (global || window).exec is not available on the nidium-server builds.

Is that as intended? Would it make sense to move the exec method onto global instead of window, so that the server can also execute other processes?

Related sauce: JSWindow.h#L97 and JSGlobal.h#L45

@paraboul
Copy link
Member

Indeed IIRC this was quickly added.
A better way would be to provide a more complete Child process API (but something more simpler than the one provided in NodeJS).

In the meantime, if you need it, I think it should be easy to backport the cmd command to either a native module (ping @efyx) or simply move the current one in something like JSProcess

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