Show spinning bar

9 views
Skip to first unread message

rellim4lla

unread,
Nov 4, 2010, 3:16:38 AM11/4/10
to babushka_app
Hi

How can I show a spinning bar at the console while something is
happening?

Cheers



Ben Hoskings

unread,
Nov 4, 2010, 3:47:11 AM11/4/10
to babush...@googlegroups.com
On 4 November 2010 18:16, rellim4lla <all4m...@gmail.com> wrote:
Hi

How can I show a spinning bar at the console while something is
happening?

It's an option to #shell:

shell "rake build", :spinner => true

It's passed to the underlying #shell call by #log_shell, so commands run with #log_shell will always show a spinner.

—Ben

rellim4lla

unread,
Nov 4, 2010, 4:05:55 AM11/4/10
to babushka_app
thanks

On Nov 4, 9:47 am, Ben Hoskings <b...@hoskings.net> wrote:
Reply all
Reply to author
Forward
0 new messages