Project

General

Profile

Actions

Bug #28281

closed

Spinner makes non-interactive terminal unusable

Added by Lukas Zapletal over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

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
Actions #2

Updated by Anonymous about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF