-
Notifications
You must be signed in to change notification settings - Fork 595
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
Unable to pipe Bash output to other programs #8
Comments
This is actually a pretty interesting one. in Python, for example, I can spawn bash just fine with the
this is saved as bash.py
also works however, I found it very interesting that
does NOT work. same (note that something like
does indeed work.) I was using python 3.5 for these tests. I am sure that it is much more complicated than this, but bash.exe seems to be really, really offended by stream redirection with pipes. that doesn't clearly explain why OP is having a problem with node.js, but note that this is exactly the same error that you would get if you ever try to pipe something into
|
Can confirm. This is a problem with bash having problems with output piping. If I specify |
I've made a related issue in Bash on Windows. #312 |
Thanks for the issue report - this was fixed in Creators Update. |
Thank you so much for this! This has been my most anticipated feature for the Linux Subsystem since i first heard about it. I am enjoying it immensely, and can confirm that it now works exactly as one would imagine it would. Thanks again!!!!! |
I'm unable to spawn Bash from NodeJS. If you try to, it will return this error:
Error: 0x80070057
How to reproduce:
node
in CMDIt outputs:
The text was updated successfully, but these errors were encountered: