Method: ChefPowerShell::PowerShell::PowerMod.do_work
- Defined in:
- lib/chef-powershell/powershell.rb
.do_work ⇒ Object
160 161 162 163 164 165 166 167 168 |
# File 'lib/chef-powershell/powershell.rb', line 160 def self.do_work @exception = nil @retry_count = 0 ensure_ps_dll unless @@powershell_dll ffi_lib @@powershell_dll attach_function :execute_powershell, :ExecuteScript, %i{string int pointer}, :pointer execute_powershell(@@ps_command, @@ps_timeout, StoreResultCallback) end |