Skip to content
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

Stderr progress output #487

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Stderr progress output #487

merged 1 commit into from
Jan 2, 2025

Conversation

uzaxirr
Copy link
Member

@uzaxirr uzaxirr commented Dec 19, 2024

fixes: #388

By default, the spinner writes to os.Stdout. Changing it to os.Stderr ensures that the spinner’s output does not interfere with JSON or other data meant for file redirection or piping.

Screenshot 2024-12-19 at 11 10 50 PM

@uzaxirr uzaxirr self-assigned this Dec 19, 2024
@uzaxirr uzaxirr merged commit 9fdfb05 into master Jan 2, 2025
1 check passed
@uzaxirr uzaxirr deleted the stderr branch January 2, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Progress bars must go to stderr, not stdout
3 participants