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 stdout is not a tty #2651
Comments
That option is still experimental, disabled by default, disabled in portable and requires Windows 10 with the spring 2018 update (1803) so we can't just drop those aliases yet and probably can't drop them for the next couple of years. What we could do though, is introduce a wrapper script that checks for |
The quickest workaround is to call |
I see. Thanks for the details. |
@albertosantini I do hope that the pseudo console support stabilizes quickly. (But it might be a while; the first Cygwin version that had it came out last year, and they ran through 5 patch versions, the most recent came out yesterday.) |
Hi, I just came across this. Thanks for the explanations. As far as I can tell this happens with default settings after upgrading. Do you not consider the discrepancy between (Just for info, it took me a while to understand the issue, and that |
To make sure, the difference in behavior stems from the POSIX emulation provided by the MSYS2 runtime, i.e. what Git Bash is made to believe is a Unix-style pseudo terminal. That changed, and that is what |
Setup
PortableGit-2.27.0-64-bit.7z.exe
$ git --version --build-options
Windows 10 1909
$ cmd.exe /c ver
defaults?
Details
C:\git\bin\bash.exe --login -i
from command promptMinimal, Complete, and Verifiable example
this will help us understand the issue.
stdout is not a tty
is displayedI read from Git for Windows v2.27.0 Release Notes (https://github.com/git-for-windows/build-extra/blob/master/ReleaseNotes.md#known-issues):
And from Git for Windows 2.27.0 release:
But
winpty
is added inetc/profile.d/aliases.sh
creatingalias node='winpty node.exe'
.As quick workaround I added
unalias node
in my.profile
file, but I was wondering if we need to remove those aliases inaliases.sh
?The text was updated successfully, but these errors were encountered: