Source From Standard In (Bash on OSX)
- by yar
I am trying to do something like this
ruby test.rb | source /dev/stdin
where test.rb just prints out cd /. There are no errors, but it doesn't do anything either. If I use this:
ruby test.rb > /eraseme; source /eraseme
it works fine, but I want to avoid the intermediate file.