Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Open3.capture3 still broken in JRuby 1.7.17 #2298
This one seems related to #1290 which has been closed and is supposed to be fixed in JRuby 1.7.17
capture3 in MRI (works):
capture3 with 1.7.17 (fails):
Bleh, ok I figured it out. This is a new bug.
capture3 calls into popen3 but passes through options for spawn. Our version of popen3 does not support spawn options, and did not peel them off the argument list, so it passed through.
For 1.7.18 I will peel off the options and warn if they're not empty, and we can look at improving our popen/spawn support in a future version.
FWIW, JRuby 9k (master) runs open3.rb unmodified and supports most spawn options.