Interface IProcessRunnerResult
Represents the result of a process execution.
Namespace: Benday.Common
Assembly: Benday.Common.dll
Syntax
public interface IProcessRunnerResult
Properties
| Edit this page View SourceErrorText
The standard error text from the process.
Declaration
string ErrorText { get; }
Property Value
| Type | Description |
|---|---|
| string |
ExitCode
The exit code from the process. Returns -1 if not yet completed.
Declaration
int ExitCode { get; }
Property Value
| Type | Description |
|---|---|
| int |
HasCompleted
Indicates if the process has completed (either successfully or with error).
Declaration
bool HasCompleted { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsError
Indicates if the process completed with an error (non-zero exit code).
Declaration
bool IsError { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsSuccess
Indicates if the process completed successfully (zero exit code).
Declaration
bool IsSuccess { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsTimeout
Indicates if the process timed out.
Declaration
bool IsTimeout { get; }
Property Value
| Type | Description |
|---|---|
| bool |
OutputText
The standard output text from the process.
Declaration
string OutputText { get; }
Property Value
| Type | Description |
|---|---|
| string |