Method: Buff::ShellOut#shell_out
- Defined in:
- lib/buff/shell_out.rb
#shell_out(command) ⇒ ShellOut::Response
Executes the given shell command on the local system
19 20 21 22 |
# File 'lib/buff/shell_out.rb', line 19 def shell_out(command) process_status, out, err = jruby? ? jruby_out(command) : mri_out(command) Response.new(process_status, out, err) end |