From: Jerry Piazza Date: 2009-10-07T09:23:39+09:00 Subject: Re: How to not display output of a system call. I am now trying to impliment this. I created this: def spinner spin_trigger while (spin_trigger == true) print "\\\r" sleep 1 print "|\r" sleep 1 print "/\r" sleep 1 print "-\r" sleep 1 end end spin = true Thread.new do spinner spin end files = Dir.glob("c:/**/*.txt") spin = false But all I get is a "\" stuck at the beginning of the line until the Dir command finishes. Maybe I am confused about the usage of Thread? -- Posted via http://www.ruby-forum.com/.