Method: WinRM::Shells::Base#run
- Defined in:
- lib/winrm/shells/base.rb
#run(command, arguments = [], &block) {|standard, standard| ... } ⇒ Object
Runs the specified command with optional arguments
78 79 80 81 82 |
# File 'lib/winrm/shells/base.rb', line 78 def run(command, arguments = [], &block) with_command_shell(command, arguments) do |shell, cmd| response_reader.read_output((shell, cmd), &block) end end |