You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2] pry(main)> Open3.popen3("pwd", :chdir=>"/tmp") {|i,o,e,t|
[2] pry(main)* puts "ok"
[2] pry(main)* }
ok
Java::JavaLang::ClassCastException: org.jruby.util.ShellLauncher$POpenProcess cannot be cast to org.jruby.util.io.POSIXProcess
from org.jruby.RubyIO.rbIoClose(RubyIO.java:1802)
I'm using:
jruby 9000.dev-SNAPSHOT (2.1.2) 2014-08-06 22bf660 OpenJDK 64-Bit Server VM 24.65-b04 on 1.7.0_65-mockbuild_2014_07_17_14_16-b00 [linux-amd64]
btw in non-block syntax it seems to be working without errors:
I'm using:
jruby 9000.dev-SNAPSHOT (2.1.2) 2014-08-06 22bf660 OpenJDK 64-Bit Server VM 24.65-b04 on 1.7.0_65-mockbuild_2014_07_17_14_16-b00 [linux-amd64]
btw in non-block syntax it seems to be working without errors:
UPDATE: another issue I see is capture2. It must be returning status according to ruby docs but it apears to be returning a process id:
This is MRI output:
The text was updated successfully, but these errors were encountered: