M
Max Dev
I have a little problem...
I created a script. At some point I should change from whatever
directory I'm currently in (in Terminal) to a certain directory from the
ruby script.
So far I find other solutions that do not satisfy me. The one with which
I managed to change directories in the terminal needs another .sh file.
When launching the .sh script from the terminal, actually changes the
directory (pwd). But if I launch from the ruby script, does not change
the output terminal (pwd).
Then, I want the working directory to be changed (in terminal) by the
Ruby program after it exits.
Any suggestions?
Thanks
I created a script. At some point I should change from whatever
directory I'm currently in (in Terminal) to a certain directory from the
ruby script.
So far I find other solutions that do not satisfy me. The one with which
I managed to change directories in the terminal needs another .sh file.
When launching the .sh script from the terminal, actually changes the
directory (pwd). But if I launch from the ruby script, does not change
the output terminal (pwd).
Then, I want the working directory to be changed (in terminal) by the
Ruby program after it exits.
Any suggestions?
Thanks