Closed huguei closed 3 years ago
When I ran the process in batch directing stdout and err to a file, it was filled with control characters by the progress bar (about 700K). This small change detects when the output is not a tty, and does not display a progress bar.
Thanks for the PR Hugo. It makes sense to avoid the progress if the result is going to a file or a pipe.
When I ran the process in batch directing stdout and err to a file, it was filled with control characters by the progress bar (about 700K). This small change detects when the output is not a tty, and does not display a progress bar.