Table of Contents

Struct AppUtils.ExecuteTerminalCommandResult

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents the result of executing a terminal command, including output, error messages, and the exit code.

public struct AppUtils.ExecuteTerminalCommandResult

Constructors

ExecuteTerminalCommandResult()

Initializes a new instance of the AppUtils.ExecuteTerminalCommandResult struct.

ExecuteTerminalCommandResult(string?, string?, int)

Initializes a new instance of the AppUtils.ExecuteTerminalCommandResult struct with the specified output, error messages, and exit code.

Fields

Error

The error messages, if any, from the terminal command.

ExitCode

The exit code returned by the terminal command, indicating its success or failure.

Output

The standard output from the terminal command.