From: Carlos Date: 2007-01-05T18:52:01+09:00 Subject: Re: Backquote command execution path problem Felipe Navas wrote: > C:\projeto>irb > irb(main):001:0> `cd` > => "C:\\projeto\n" > > How i change the path that the command will be executed ? > > What must happen: > > C:\projeto>irb > irb(main):001:0> YOUR_MAGIC_COMMAND("C:\\projeto\\blablabla") Dir.chdir('C:\\projeto\\blablabla') > irb(main):002:0> `cd` > => "C:\\projeto\\blablabla\n" Greetings. --