Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 488 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 488 Bytes

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