On Nov 12, 2008, at 10:30 PM, Rob Biedenharn wrote:

> Of course, doing that kind of thing in Ruby should look like:
>
> begin
>  old_path = ENV['path']
>  ENV['path'] << ENV['PW_PATH']
>  system(...)
> ensure
>  ENV['path'] = old_path
> end

totally right... although, I don't think that system will raise an  
exception. Maybe if PATH is blank (i.e. nil), concatenating the other  
environmental variable will raise an exception.

> -Rob
>
> Rob Biedenharn		http://agileconsultingllc.com
> Rob / AgileConsultingLLC.com


regards,
-- 
Rolando Abarca M.