Wopen3
Wopen3 is a free replacement (released under the GPL) for Open3 in the Ruby Standard Library. Unlike Open3, Wopen3 does not throw away the exit code of the executed (grandchild) process. Only a child process is spawned and the exit status is returned in $? as normal.
Wopen3 is part of Walrus, distributed as a separate gem for easy reuse.
Downloading from RubyForge
See the RubyForge file listing.
To install using RubyGems:
sudo gem install wopen3
Obtaining via Git
git clone git://git.wincent.dev/wopen3.git