I'm trying to do something like this
ruby test.rb | source /dev/stdin
where test.rb just prints cd /. There are no errors, but he does nothing. If I use this:
ruby test.rb > /tmp/eraseme2352; source /tmp/eraseme2352
It works fine, but I want to avoid the intermediate file.
Change: . The thing is that changes must be saved when the command is executed. Sorry, I have not done this more clearly before.
source
share