The following tables list the members exposed by ProcessRunner.
Name | Description | |
---|---|---|
ProcessRunner Constructor | Overloaded. |
Name | Description | |
---|---|---|
ExitCode | Waits for the process to exit and returns the exit code | |
IsRunning | Returns true if this instance is running a process | |
PID | Returns the remote process Id | |
StandardInput | Allows writes to the std::in for the process | |
WorkingDirectory | Gets or sets the initial working directory for the process. |
Name | Description | |
---|---|---|
Dispose | Detaches event handlers and closes input streams | |
Kill | Kills the process if it is still running | |
Run | Overloaded. Runs the process and returns the exit code. | |
RunFormatArgs | Calls String.Format() for each argument this runner was constructed with giving the object array as the arguments. Once complete it runs the process with the new set of arguments and returns the exit code. | |
Start | Overloaded. Starts the process and returns. | |
StartFormatArgs | Calls String.Format() for each argument this runner was constructed with giving the object array as the arguments. Once complete it starts the process with the new set of arguments and returns. | |
ToString | Returns a debug-view string of process/arguments to execute | |
WaitForExit | Overloaded. Closes std::in and waits for the process to exit |
Name | Description | |
---|---|---|
OutputReceived | Notifies caller of writes to the std::err or std::out | |
ProcessExited | Notifies caller when the process exits |
Reference
ProcessRunner ClassCSharpTest.Net.Processes Namespace