[jruby] IO::popen4 in JRuby 9.1.13.0

Annabackiyam Swaminathan ANNABACKIYAM.SWAMINATHAN at ORACLE.COM
Sun Feb 3 14:19:16 JST 2019


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 9.1.13.0. 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 9.1.13.0.

Example:

 

2
system("ls")
puts $?

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

 

https://github.com/boxgrinder/boxgrinder-core/commit/871c19d34bd633ce6d71525e43f8344e759bd0f5 <https://github.com/boxgrinder/boxgrinder-core/commit/871c19d34bd633ce6d71525e43f8344e759bd0f5>

Where can I find the same gem or alternative for that in Jruby 9.1.13.0?


Thanks.
AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ruby-lang.org/pipermail/jruby/attachments/20190203/6e18a8e7/attachment.html>


More information about the JRuby mailing list