Hi,

Am Montag, 10. Aug 2009, 20:55:55 +0900 schrieb Peter Bailey:
> Tim Hunter wrote:
> > Peter Bailey wrote:
> >> Thanks,
> >> Peter
> > 
> > system("ruby myscript.rb")
> 
> Hmmm. Simple as that, eh? I though there was some internal thing, but, 
> thank you very much.
> -Peter

If you do not want to reload the Ruby interpreter, you may fork
with sometihing like

  fork do load "myscript.rb" end

What you initially wanted to do is continue inspite errors
occured. This could be done better using rescue blocks.

  begin
    load "myscript.rb"
  rescue MyScriptError
    ...
  end

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de