Hi, I'm writing a program that is able to throw up errors due using LuaInterface and loading in editable scripts, this causes a problem as on error no "Application.Exit" or "Form.FormClosing" events seem to be called. I therefore cannot guarantee the shutdown of a process I run within the application.
Is there any way of closing the launched process when the main process ends via error?