I have an interactive shell in windows running a third party console app. When I close the shell, the process for the console app is still hanging around in Windows. It is not destroyed when the shell gets destructed. Xojo even sees this in the debugger and wont release the debugger until I go into task manager and kill the process.
Normally in a normal DOS shell, I can send a ctrl-C to the console app to cause it to exit. However, I cant seem to make that work in Xojo. I set canonical to true for the shell (Ive had it set to false too - it doesnt matter) and send chr(03) which is ctrl-C. Doesnt kill the process.
How can I force a shells process to terminate?