Class: ChefPowerShell::Pwsh
- Inherits:
-
PowerShell
- Object
- PowerShell
- ChefPowerShell::Pwsh
- Defined in:
- lib/chef-powershell/pwsh.rb
Instance Attribute Summary
Attributes inherited from PowerShell
Instance Method Summary collapse
-
#initialize(script, timeout: -1)) ⇒ Object
constructor
Run a command under pwsh (powershell core) via FFI This implementation requires the managed dll, native wrapper and a published, self contained dotnet core directory tree to exist in the bindir directory.
Methods inherited from PowerShell
Constructor Details
#initialize(script, timeout: -1)) ⇒ Object
Run a command under pwsh (powershell core) via FFI This implementation requires the managed dll, native wrapper and a published, self contained dotnet core directory tree to exist in the bindir directory.
28 29 30 31 |
# File 'lib/chef-powershell/pwsh.rb', line 28 def initialize(script, timeout: -1) @dll = Pwsh.dll super end |