StandardErrorEncoding Property

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

The encoding to use for the Standard Error.

public Encoding StandardErrorEncoding { get; init; }

Returns

Remarks

Defaults to , which is UTF-8 on .NET 10 and later. Callers can override this per-stream via the init property. The control adapter applies this encoding only when standard error is redirected (OutputRedirection is true).