-
Notifications
You must be signed in to change notification settings - Fork 339
mintty.exe is a strange terminal #134
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
Comments
Technically speaking, there is something common between git-for-windows and msys2. |
|
Personally, I don't use mintty because of this. I either run within the native console host, or now in Windows Terminal. |
@gabyx Can you provide equivalent code in C? |
I suspect it is the same problem that I have which causes python to report that stdout is not a tty. |
It would be really nice if somebody could look at the following issue:
golang/go#46681
It demonstrates the fact that
git-bash.exe
and alsomingw.exe
really behave strange, when we want to the get the controlling terminal file inputCONIN$
on windows.This is basically done in GO with:
Running the above with
echo "asd" | go run main.go
in vs code integrate terminal with
bash.exe
(MSYS2) **works **(suprisingly) butrunning it in the
git-bash.exe
ormsyswin64.exe
(mintty.exe
) does not work:VS Code: (bash.exe)
Correct!
Straight
mintty.exe
The text was updated successfully, but these errors were encountered: