Table of Contents

Class CommandResult

Namespace
Oscova.Agents.Toolsets
Assembly
Oscova.Agents.dll

Captures the observable result of a shell command execution.

public record CommandResult : IEquatable<CommandResult>

Inheritance

Implements

Inherited Members

Constructors

CommandResult(int, string, string, bool)

Captures the observable result of a shell command execution.

Properties

ExitCode

The process exit code reported by the shell.

Stderr

The trimmed standard error text.

Stdout

The trimmed standard output text.

TimedOut

Whether the process was terminated because it exceeded its timeout.