|With TerminateProcess you can terminate a process started with Start ... returnId=... . GuiXT simulates the closing of the application by the user.
Here the variable V[proc] needs to be filled before by a Start ... returnId="proc" command.
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.
|GuiXT + InputAssistant