From: Logan Capaldo Date: 2004-11-12T07:11:30+09:00 Subject: Re: Writing a looping, low-configuration script in Ruby I had thought that Process.fork works out of the box on windows, am I wrong? I didn't really want to reboot to try it out. (Isn't laziness supposed to be a virtue?) You could run the ruby interpreter under Cygwin in windows and then I am (almost) positive it will work. On Fri, 12 Nov 2004 05:58:29 +0900, Dave Burt wrote: > > "crontab -e" > > > $ crontab - > > */30 * * * * /path/to/script.rb > > > Process.fork do > > ... > > sleep... > > This is a generally useful thing to do. > > Is there any standard way to do this on windows? Is using win32/popen3 > library the preferred way? How can you write a script that will work "out of > the box" (ie one-click-installer) on windows as well as doing the normal > unix thing on unix? > > Cheers, > Dave > >