Purpose With TerminateProcess you can terminate a process started with  Start ... returnId=... . GuiXT simulates the closing of the application by the user.
Examplel TerminateProcess id="&V[proc]"  

Here the variable V[proc] needs to be filled before by a Start ... returnId="proc" command.

Format TerminateProcess id="processId"

The main window of the application is closed. If the application normally displays a security popup before terminating the application, the popup is also shown when you use TerminateProcess. The user may then decide not to close the application. So you cannot be sure that the underlying process is really terminated after executing TerminateProcess.

Components GuiXT + InputAssistant