F
Felipe Navas
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")
irb(main):002:0> `cd`
=> "C:\\projeto\\blablabla\n"
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")
irb(main):002:0> `cd`
=> "C:\\projeto\\blablabla\n"