Close Methods of the Open Process Handler
These values can be specified in the OpenProcessHandler Configuration and in the processes element.
kill
Kill forces a termination of the process, while CloseMainWindow only requests a termination. To force the application to quit, use the Kill method.
closeMainWindow
Closes a process that has a user interface by sending a close message to its main window. The request to exit the process by calling CloseMainWindow does not force the application to quit. The application can ask for user verification before quitting, or it can refuse to quit. The behavior of CloseMainWindow is identical to that of a user closing an application's main window using the system menu. Therefore, the request to exit the process by closing the main window does not force the application to quit immediately.
closeAllWindow
The Close method causes the process to stop and waiting for exit if it was waiting, closes the process handle, and clears process-specific properties. Close does not close the standard output, input, and error readers and writers in case they are being referenced externally. [i.e. the process itself keeps running, you just cannot control it anymore using your Process instance].