Home

Awesome

mruby-open3 Build Status

Open3 for mruby

Installation

MRuby::Build.new do |conf|
  # ...
  conf.gem mgem: 'mruby-open3'
end

Usage

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)>]

License

MIT License