only send progress bars to stderr if it's a tty
Bug #387717 reported by
David I
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool |
Bug Description
If stderr is not a tty, progress bars should not be sent to it.
Related branches
lp:~mbp/bzr/387717-progress-bar-tty
- Martin Pool: Approve
- Diff: 1426 lines
Changed in bzr: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Well, I think there is a choice between tradeoffs.
Its very hard for scripting to deal with progress bars and other such
'not the requested content' artifacts.
CLI programs get precisely two file descriptors to write to.
Suggestions about how to improve the situation without making life
harder for interactive or scripting users will be appreciated - but this
isn't a casual decision that we took.
status incomplete