Hi
I am try to run something like this in my cgi.
-------------------------------------
system ("sleep 3000 &");
-----------------------------------
Since, it is time-consuming task, I let it run in background and immediately return to user. I tested this script. It was no problem for a standalone perl script. However, once I had this script in a perl cgi. The script seemed not to have this system command run in background. It waited there for the child process to finish.
Any clue for why it behaved like that? How can I for a child process in background and return immediately to the web user?


Help is really appreciated!

jason zhang

Reply via email to