i think this will still have the same problem I mentioned. If you leave the page it will still keep running..
from the column:
Also, the child process has no awareness if the parent is finally disinterested, and continues merrily chugging away to produce a result that no-one will see. Perhaps that can be fixed in another revision of the program. But until next time, enjoy!
Comment on Re^2: Perl and Apache… Process keeps running.
Um, the technique shows you how to separate the actions of the parent from those of the child without hanging the webserver. This is the most important part. Adding a kill button is SMOP, 5 lines at most