Assembly: Host;
The IShellProcess interface is used to start console applications and get their execution result.
IShellProcess
To start a console application, initialize the object of the ShellProcess class, set up start parameters (object of the ShellExecuteInfo class) and execute the IProcess.Start method. The application will be executed in the background. To stop the application, use the IProcess.Kill method.
Implementation of IShellProcess allows for starting applications in Windows OS and Linux OS.
Property name | Brief description | |
The Error property determines contents of a standard error stream. |
||
The Output property determines contents of a standard output stream. |
Property name | Brief description | |
The ExitCode property returns the process exit code. |
||
The HasExited property returns whether the process is completed. |
Method name | Brief description | |
The Kill method stops process execution. |
||
The Start method starts the process. |
See also: