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

Progress bar not drawn when stdout is redirected on Windows #113

Open
AndreKR opened this issue Sep 1, 2017 · 2 comments
Open

Progress bar not drawn when stdout is redirected on Windows #113

AndreKR opened this issue Sep 1, 2017 · 2 comments

Comments

@AndreKR
Copy link

AndreKR commented Sep 1, 2017

How to reproduce:

bar := pb.New(1000)
bar.Output = os.Stderr
bar.Start()

Run with:

myprogram > output

Expected:
Progress bar is drawn because output goes to Stderr and Stderr is a terminal.

Actual:
No progress bar is drawn, only counters and percentage is shown.

@sanjidchogle
Copy link

I can reproduce this too on Windows 10 64 bit.
go get gopkg.in/cheggaaa/pb.v1

@gnojus
Copy link
Contributor

gnojus commented Dec 28, 2019

I think this is fixed in ca37cd7

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

No branches or pull requests

3 participants