Peter Bailey wrote:
> Hi,
> Can someone please tell me how you can can call out another Ruby script?
> I have a lot of image processing scripts. Sometimes, rarely, they'll
> simply fail because some of the images might be bad. But, I need to know
> whether or not the images got processed or not. So, because an image
> failure can literally lead to the whole Ruby script just failing, I'd
> like to create a separate script that simply lists all of the files in
> the input directory (separately from the processing script) and checks
> to see if they all got processed or not. In DOS, I would use a "call"
> statement. What's the equivalent in Ruby?
> Thanks,
> Peter

system("ruby myscript.rb")

-- 
MagickWand for Ruby - http://magickwand.rubyforge.org/