-
Notifications
You must be signed in to change notification settings - Fork 847
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
.exe CLI programs called from WSL don't work with input/stdin from WSL #3160
Comments
Likely #2370. Try Spring Creators and ping this issue if it remains unresolved. |
Alright. You'll need a repro for this to have a fighting chance tho. |
As I already wrote, execute in WSL.exe or bash.exe the following:
Assuming that git and Docker for Windows is installed. Once the For the easier reproduction of case 1, you just need to make sure that postgres (9.6) for windows is installed and can follow the steps from my initial post. |
@theodiefenthal - I'm not able to reproduce this locally. You'll need version 17618 or later. Marking as a duplicate of #2370.
|
Does it mean that I'll have to wait half a year now for the next major windows 10 upgrade in order to test? Or is there another way to upgrade the version? Sadly, I can't agree to the insider preview program terms and conditions on my work machine.. |
I'm not quite sure if this is a duplicate of #2406 or any other related stdin topics, but all the issues I found seem to be rather limited in affected scope (e.g. just affecting vagrant), whereas in my case, anything related to calling an .exe from WSL seems to not work as soon as stdin is involved.
Here are two examples:
I get a stdin, but I can't enter anything in there. Clicking ENTER does not hat any effect. Event CTRL+C doesn't kill the process. I have to close the opened WSL.exe terminal and reopen it in order to issue any more commands.
Same goes for a docker-compose I just wanted to run (Which is not a password stdin prompt, but just a standard stdin prompt):
The expected behavior: I can interoperate with .exe files the same way in WSL.exe as I can from PowerShell, i.e. I can write characters from my keyboard and press ENTER.
What's actually happening: I can not enter anything. I just have a blinking cursor any any key I press doesn't have any effect at all so that I have to close the window.
As mentioned in the beginning, I don't know if this is related to the "stdin" to "filehandle" and vice versa thing or not, but this limits in my point of view the possibilites with using WSL against windows executables quite a lot, so that there is a huge need for a proper solution or at least a workaround.
The text was updated successfully, but these errors were encountered: