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
How to print progressbar when redirecting output to file? #530
Comments
I don't think there is anything built-in to indicatif to support this. You may however give unbuffer (https://linux.die.net/man/1/unbuffer) a try. That might do what you want. |
indicatif more or less inherits this behavior from the console crate which it uses under the cover. An indicatif |
@djc I think most of the CLI apps are also used in non-interactive (headless?) mode, and could use some support from |
Well, if someone wants to propose a design for something like that I'd be willing to review it. |
I'm using this to run my program:
nohup ./target/release/main > main.log &
.But this cause all the progressbars are gone from the logfile. Any method to preserve it?
The text was updated successfully, but these errors were encountered: