sorry, typo:

 > commands = # ...
 > commands.each do |cmd|
 >   returned = system cmd
 >   # system (or 'rsys') would return
 >   #  sterr, or stdout, or nil
 >   if returned
 >     case ret

       case returned

 >       when Stderr then raise returned
 >       when Stdout then puts  returned
 >     end
 >   end
 > end


-- 
http://www.pinkjuice.com/