ToString() Method

Definition

Namespace CliInvoke.Core
Assembly CliInvoke.Core.dll

Returns a compact single-line diagnostic representation of the result.

public override string ToString()

Returns

String
A bracketed string containing the exit code, executed file path, and runtime duration.

Remarks

Carriage return and line feed characters in ExecutedFilePath are escaped as \r and \n so the representation never spans multiple lines.