redding/scmd — pull request #4 by jcredding (2012-10-28 21:17:57+00:00)
Title: Support jruby

The `open4` gem isn't compatible with jruby because jruby doesn't allow forking.
To allow Scmd to be used with jruby, we can use `IO.popen4`, which provides the
same functionality as the `open4` gem. This commit modifies the command class to
switch `Open4` usage with `IO` when the platform is java.