- Doc: http://sixarm.com/sixarm_ruby_commander/doc
- Gem: http://rubygems.org/gems/sixarm_ruby_commander
- Repo: http://github.com/sixarm/sixarm_ruby_commander
Kernel#commander sugar wrapper for Open4::spawn
Syntax:
commander(command, option=>value, option=>value, ...)
Example:
commander('ls')
#=> Open4::spawn('ls',:stdout=>'',:stderr=>'')
#=> 'ls', {}, status, stdout, stderr
Any options will be sent along to the spawn method.
For docs go to http://sixarm.com/sixarm_ruby_commander/doc
Want to help? We're happy to get pull requests.
To install this gem in your shell or terminal:
gem install sixarm_ruby_commander
To add this gem to your Gemfile:
gem 'sixarm_ruby_commander'
To require the gem in your code:
require 'sixarm_ruby_commander'