Skip to content

mrbgems/mruby-open3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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