jruby/jruby — pull request #181 by csw (2012-05-25 17:06:01+00:00)
Title: Fix for JRUBY-6666, Open3.popen3 handling for arrays in arg list

This is the same as #173 but applied to `master` instead of 1.6.7. I didn't realize we were at the end of the line for 1.6 already.

This patch adds a fix for [JRUBY-6666](http://jira.codehaus.org/browse/JRUBY-6666), a bug in the handling of Open3.popen3(). This method should accept a two-element array giving path and argv[0] as the first item in the argument list, as on MRI.

I have submitted a corresponding [test case](https://github.com/rubyspec/rubyspec/pull/137) to RubySpec. With the patch, JRuby passes this test. It also passes `ant test` and `ant spec:ci_interpreted_19`.