Open3 for mruby
MRuby::Build.new do |conf|
# ...
conf.gem mgem: 'mruby-open3'
end
Currently only Open3.capture3
is supported.
Open3.capture3("ruby", "-e", "$stdout.puts 'out'; $stderr.puts 'err'; exit 2")
#=> ["out\n", "err\n", #<Process::Status: pid=3903,exited(2)>]
MIT License