Actions
Bug #28281
closedSpinner makes non-interactive terminal unusable
Difficulty:
Triaged:
No
Description
When the tool is executed with redirected output (to a pipe or a file) the spinner thing makes thing terrible and unreadable. The process should detect if it's running a tty and then avoid spinning (e.g. when executed from cron).
Reproducer:
foreman-maintain service status > /tmp/test.log
See the ^M characeters in the log file. If the action takes a lot of time (e.g. restart) there will be a lots of these.
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_maintain/pull/291 added
Updated by Anonymous about 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|a384ab17a2d495014d24a6539c85fe1085b7468c.
Actions