IO:popen4 jruby gem in linux in GlassFish Java Platform not working

We’ve been running JRuby in GlassFish environment and we have used IO:popen4 jruby library in 1.8.

We are currently upgrading jruby to As no os commands work in ruby in java platform, we had to use IO.popen4 gem in jruby 1.8.

Any OS command comes back with PIPE (signal 13) in


2 system(“ls”)

puts $?

pid 12543 PIPE (signal 13)

#<Process::Status: pid 12543 PIPE (signal 13)>

#<Process::Status: pid 12543 PIPE (signal 13)>

PIPE (signal 13)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs