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

node.js cann't create a bash child process #195

Closed
wywzxxz opened this issue Apr 14, 2016 · 2 comments
Closed

node.js cann't create a bash child process #195

wywzxxz opened this issue Apr 14, 2016 · 2 comments

Comments

@wywzxxz
Copy link

wywzxxz commented Apr 14, 2016

when I spwan a new bash process using
1.require('child_process').spawn("C:\Windows\System32\bash.exe");
2.require('child_process').spawn("C:\Windows\System32\bash.exe",["-c","ls"]);
It will output a "Error: 0x80070057" via stdout.

My windows subsystem for linux however works perfect for standalone usage.I just need to connect nw.js and bash, any idea about this?

@stehufntdev
Copy link
Collaborator

Thanks for reporting the issue, this looks like the same issue as #2:

For now we only support the console for stdin and stdout, but improvements are on the backlog. My suggestion at this point would be to add it to our User Voice page and go for the up votes to help raise the priority.

@wywzxxz
Copy link
Author

wywzxxz commented Apr 14, 2016

yeah.exactly the same problem.

@wywzxxz wywzxxz closed this as completed Apr 14, 2016
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