You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-OutputFormat {Text | XML}
Determines how output from Windows PowerShell is formatted. Valid values are "Text" (text strings) or "XML" (serialized CLIXML format).
This gem doesn't parse the latter, so it seems like it would be good to always capture output as text. Unfortunately, this option only seems to control the stdout stream. The stderr stream is always written as CLIXML, as seen in this pry session. Changing the option from Text to XML effects stdout but not stderr:
Actually, even though it is always XML it does look like using Text at least limits the stderr to XML only containing serialized strings, as opposed to more complex types when using XML:
One of the PowerShell options is:
This gem doesn't parse the latter, so it seems like it would be good to always capture output as text. Unfortunately, this option only seems to control the stdout stream. The stderr stream is always written as CLIXML, as seen in this pry session. Changing the option from Text to XML effects stdout but not stderr:
Actually, even though it is always XML it does look like using Text at least limits the stderr to XML only containing serialized strings, as opposed to more complex types when using XML:
The text was updated successfully, but these errors were encountered: