Assembly: Ui;
The IWinProcess interface contains properties and methods that are used to start applications with visual interface and to get their execution result.
IWinProcess
To start an application or open a file in the application, initialize the object of the WinProcess class, set up start parameters (object of the WinShellExecuteInfo class) and execute the IProcess.Start method. To stop the application, use the IWinProcess.CloseMainWindow method.
The IWinProcess implementation allows for starting applications only in Windows OS.
Property name | Brief description | |
The ExitCode property returns the process exit code. |
||
The HasExited property returns whether the process is executed. |
Method name | Brief description | |
CloseMainWindow | The CloseMainWindow method closes the process that has the user interface by sending the command to the main window to close. |
Method name | Brief description | |
The Kill method stops process execution. |
||
The Start method starts a process. |
See also: