-
Notifications
You must be signed in to change notification settings - Fork 87
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
Progress bars must go to stderr, not stdout #388
Comments
@dipu989 if you wish to contribute you can pick this one. |
@uzaxirr Thanks for recommending this, I will pick it up 🚀 |
@uzaxirr I’ll be picking these up after a week. If anyone else wants to take them on in the meantime, feel free! |
@dipu989 will u be working on it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue
Progress bars should not be going to stdout, they need to go to stdout
How to replicate
1. Run a command with the
--wait
flag and pipe the output to a file2. Inspect the file we just created:
cat test
Output:
Looks normal? Except that it isn't, for example try the following command:
Output:
That should no possible? Why is this command not working in this perfectly valid json?
Because of the non-printable characters
3. Inspect the file for non printable characters
cat -v test
output:
Aceptance Criteria
--silent
flag for this type of output. There are situations, such as scripts where the user may want to silence this output. Sending it to stderr makes this a lot easier though, so this second part is not strictly neededThe text was updated successfully, but these errors were encountered: