From: Junkone Date: 2008-09-27T00:39:41+09:00 Subject: Re: start ruby process On Sep 26, 10:56 am, botp wrote: > On Fri, Sep 26, 2008 at 9:34 PM, Junkone wrote: > > how to start a ruby process that is not dependent on the process > > initiaing it. > > i tried doing system('ruby myCron.rb') but as soon as my process > > ended, the mycron.rb process disappeared. any ideas > > try, > > exec("ruby mycron.rb") if fork==nil what is the difference between exec("ruby mycron.rb") if fork==nil and system('ruby myCron.rb') which is better in terms of reliability and resource consumptions