I’m using ExeOutput for PHP 1.6. My application launches several processes that run in the background. The main app makes ajax calls that last for several minutes and I’m using other ajax calls to monitor their progress. I’m also using ajax calls to terminate the long processes, should the user initiate this from the interface.
The problem is that, when I close the window from the X icon, the process hangs. The window does not close and the background processes continue to run until they end. If I end the process from the Task Manager, then the window closes.
So I’m looking for a way to:
a) either run some sort of HEScript function to “terminate” all running PHP processes
b) or run (but reliably) some ajax calls to terminate the processes myself.