From: Robert Dober Date: 2008-12-12T20:57:40+09:00 Subject: Re: Need help with rubyw On Fri, Dec 12, 2008 at 12:43 PM, Rasmus Rasmussen wrote: > Hello, > > I'm planning to run ruby setup script from lots of testclasses (NUnit) > so I need to hide the console window. But starting process from C# with > rubyw only returns error. > > Then I try this helloworld-like test: > >>echo sleep(5) > tst.rb >>ruby tst.rb > (sleeps 5 secs) > >>rubyw tst.rb > (terminates immediately) > > Why no sleep with rubyw? Oh it sleeps just fine, but in a background process, this is the same as typing sleep 5 & in a bash shell, does not make lot's of sense. HTH Robert -- Il computer non è una macchina intelligente che aiuta le persone stupide, anzi, è una macchina stupida che funziona solo nelle mani delle persone intelligenti. Computers are not smart to help stupid people, rather they are stupid and will work only if taken care of by smart people. Umberto Eco