StandardOutputEncoding Property

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

The encoding to use for the Standard Output.

public Encoding StandardOutputEncoding { 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 output is redirected (OutputRedirection is true).