Closed justenwalker closed 10 years ago
Process.waitpid
docs say that Process.waitpid
sets $?
to an instance of Process::Status
.
RubySpec is unfortunately blank.
Is this a bug in JRuby?
Other comments I found suggest IO.popen3 returns a thread. It could be a bug though, I don't know enough about jruby to confirm.
Update: Sorry, I mean to say IO.popen3
sets $?
to WaitThread
not returns
Completely misread things. D'oh.
This should probably be using Open3.capture3
anyway....
WaitThread does not have a success? method, but it does have a value property which can be checked instead.
Build succeeds with jruby-d19