Force end an interactive shelled program

Xojo is quite good, but I can’t seem to find a method that works on Windows, Linux and Mac that forces a shell program to end immediately such as the TerminateProcess API in Windows

Does XOJO support this important functionality?

XOJO is quite good but I can’t seem to find a cross platform friendly method that immediately ends a shelled program opened with Shell.Mode = 2. Windows allows me to do this via the TerminateProcess API.

Does XOJO support this important functionality?

Do you mean this command here? http://documentation.xojo.com/index.php/Shell.Close

Shell.close should works right away in Mac OS X and Linux where the shell is a child process of the calling app. On Windows, TerminateProcessAPI is probably required.