* Timothy Hunter <TimHunter / nc.rr.com> wrote:
>   
> You can use Dir.chdir to temporarily change the current directory:
>
> Dir.chdir('path2') do
>     system('shellscript.ksh')
> end
>
> After the block the current directory returns to its former state.

Thanks for the hint! I did not knew the class Dir before!

-- 
Karl Voit
                                    http://www.Karl-Voit.at/scripts/#bmconverter