From: Jerry Piazza Date: 2009-10-07T10:19:06+09:00 Subject: Re: Creating a pacifier in command line program Well, now I am trying to impliment this into a program. Example: 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 All I am getting is "\" until the Dir command is complete. The method works perfectly when not running inside another program. It must have something to do with the new thread I am creating, but I cannot figure out what...hrm. -- Posted via http://www.ruby-forum.com/.