I've been doing this by wrapping it in a CGI and calling it from a browser, though this results in a browser timeout most of the time. The timeout doesn't actually matter, as the script will happily continue running whether the browser is waiting for a response or not, but it's an annoyance.
So, is there any way to call a CGI that triggers a script and then returns a page to the browser without waiting for the script to complete? Forking maybe? NPH?
Any ides appreciated.