Class ProcessResult
Represents the text of the standard output and standard error of a process, including its exit code.
Inherited Members
Namespace: Swan
Syntax
public class ProcessResult
Constructors
ProcessResult(Int32, String, String)
Initializes a new instance of the ProcessResult class.
Declaration
public ProcessResult(int exitCode, string standardOutput, string standardError)
Parameters
Type | Name | Description |
---|---|---|
Int32 | exitCode | The exit code. |
String | standardOutput | The standard output. |
String | standardError | The standard error. |
Properties
ExitCode
Gets the exit code.
Declaration
public int ExitCode { get; }
Property Value
Type | Description |
---|---|
Int32 | The exit code. |
StandardError
Gets the text of the standard error.
Declaration
public string StandardError { get; }
Property Value
Type | Description |
---|---|
String | The standard error. |
StandardOutput
Gets the text of the standard output.
Declaration
public string StandardOutput { get; }
Property Value
Type | Description |
---|---|
String | The standard output. |