From: Dane Jensen Date: 2010-02-21T13:18:00+09:00 Subject: Re: Running two versions of Ruby - Lessons Learned On Feb 20, 2010, at 5:50 PM, Alex DeCaria wrote: > - For thos few programs that need to run under Ruby 1.8 I wrote a > simple > ruby script that calls the Kernel.system method: > > system( "C:\Ruby\bin\rubyw.exe my_Ruby1.8_program.rb" ) You should use exec instead. system runs the script as a sub process with your wrapper just sitting in memory waiting for it to exit. exec replaces your wrapper with the called script. -Dane