Table of Contents

Constructor CommandResult

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

CommandResult(int, string, string, bool)

Captures the observable result of a shell command execution.

public CommandResult(int ExitCode, string Stdout, string Stderr, bool TimedOut)

Parameters

ExitCode int

The process exit code reported by the shell.

Stdout string

The trimmed standard output text.

Stderr string

The trimmed standard error text.

TimedOut bool

Whether the process was terminated because it exceeded its timeout.