Method: Oxidized::SSHWrapper#exec!
- Defined in:
- lib/oxidized/sshwrapper.rb
#exec!(params, expect = @prompt) ⇒ Object
50 51 52 53 54 55 56 57 |
# File 'lib/oxidized/sshwrapper.rb', line 50 def exec!(params, expect = @prompt) check_for_connection exec(params, expect) sanitize_output_buffer("\n", /\r\n/) sanitize_output_buffer('', params) @logger.debug params if @debug @output end |