-
Notifications
You must be signed in to change notification settings - Fork 48
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
Unnecessary use of pipes disables terminal features #108
Comments
@jaens Wouldn't you always want the output of your executed command to be printed? Changing this would be a backward incompatible change, if I understand what you're asking for. I also believe, but am not 100% familiar, that modules don't detect color based on whether they're being piped, but through |
Did a test, this comes down to incorrect options for |
Released in |
Yeah, what I meant is exactly what you did - not calling the Colors (isTTY) works now, thanks! |
onchange
always pipes thestdout
of the child process, which causes the child process to think it's not running in a terminal (as that's how most utilities detect whether they are running in a TTY).This disables useful features such as color highlighting (in log messages etc.).
Ideally, stdout should not be piped unless it's necessary (due to the other command-line options),.
The text was updated successfully, but these errors were encountered: