-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
ConsolehasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
I feel that a note should be added to the ProgressBar documentation stating the console output will always be sent through stderr
. This is a subtle nuance for anybody who treat stderr
as an error, similar to how a return code > 0 would indicate a failure of a command.
Use case: I use cronic to wrap command execution for cron jobs so that any error output, or result code > 0, is treated as a failure and an email be sent notifying developers of a problem. cronic
relies on the existence of either output in stderr
or a non-zero result code to make this determination. Suffice it to say, I've been spinning my wheels trying to figure out why my commands are failing successfully.
Metadata
Metadata
Assignees
Labels
ConsolehasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.