in reply to Creating a background task from the web

...but the webpage just hangs waiting for the process to finish

You need to fork and exec for an asynchronous response of the server:

Here is some documentation that can help you:

Re: spawning Perl scripts by Abigail
Web Techniques Column 20 by merlyn

hope this helps

citromatik

  • Comment on Re: Creating a background task from the web