From: Brian Candler Date: 2010-10-19T05:18:15+09:00 Subject: Re: su {block of code.} Tony Arcieri wrote in post #955183: > I'd suggest spawning a new Ruby instance which runs under sudo and > talking > to it with DRb Or use IO.popen and talk over stdin/stdout. (It would be cool if the DRb protocol could be piped over stdin/stdout - I looked into it once but it was actually not easy to modify the existing DRb code to do that, and it gets hairy with callbacks anyway) -- Posted via http://www.ruby-forum.com/.