WinRb / WinRM

Ruby library for Windows Remote Management
Apache License 2.0
412 stars 117 forks source link

stop ignoring Powershell non-terminating errors #308

Closed BeniLeuz closed 4 years ago

BeniLeuz commented 4 years ago

This gem still ignores the non-terminating errors. We could handle those in our powershell via ErrorActionPreference = Stop

But i feel like this could also be the standart behavior from this gem. I want to be 100% sure that there is no stderr output. Every command should work. Else i want exit code 1.