From: "Erik Bågfors" Date: 2002-05-31T20:29:15+09:00 Subject: Re: changing current directory On Fri, 2002-05-31 at 11:35, MENON Jean-Francois wrote: > hello, > is there a way to change the current directory into my ruby program so > that all the commands run with "system" will find files in current > directory ? (both with Linux and Windows?) > -- : [bagfors@detrius]$ ; ruby -e 'Dir.chdir "/tmp"; system "pwd"' /tmp /Erik -- Erik B�gfors | erik@bagfors.nu Supporter of free software | GSM +46 733 279 273 fingerprint: 6666 A85B 95D3 D26B 296B 6C60 4F32 2C0B 693D 6E32