profesorfalken / jPowerShell

Simple Java API to interact with PowerShell console
Apache License 2.0
218 stars 84 forks source link

Expose standad and error command output as separate fields on PowerShellResponse #68

Open grantneale opened 4 years ago

grantneale commented 4 years ago

It would be useful to expose the standard and error output of powershell commands as separate fields on PowerShellResponse. In particular, I have a use case where I require the standard command output, without any interleaved error output.

If this isn't desirable default behaviour, perhaps this could be a configurable option, or a third response field could include the merged standard and error outputs.