Closed RobWu closed 4 years ago
posix-spawn (https://github.com/rtomayko/posix-spawn)
Use POSIX::Spawn::Child.new instead of Open3.popen3
POSIX::Spawn::Child.new
Open3.popen3
See also
Q: Why use POSIX::Spawn::Child instead of popen3, hand rolled fork/exec code, or Process::spawn?
https://github.com/rtomayko/posix-spawn/blob/master/lib/posix/spawn/child.rb#L44
Looks like 'posix-spawn' don't support jruby
posix-spawn (https://github.com/rtomayko/posix-spawn)
Use
POSIX::Spawn::Child.new
instead ofOpen3.popen3
See also
https://github.com/rtomayko/posix-spawn/blob/master/lib/posix/spawn/child.rb#L44