ToString() Method

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Returns a compact single-line diagnostic representation of the buffered result, including output length indicators but never embedding output content.

public override string ToString()

Returns

String
A bracketed string containing the exit code, executed file path, runtime duration, stdout and stderr lengths, and a truncation indicator when WasTruncated is true.

Remarks

Extends the base ToString() bracketed format by removing the base closing bracket and appending stdout/stderr lengths and a truncation indicator before adding a single final closing bracket.