|We don't bite newbies here... much|
http waits on processby hotshot (Prior)
|on Jan 13, 2004 at 17:21 UTC||Need Help??|
hotshot has asked for the
wisdom of the Perl Monks concerning the following question:
I have a cgi script that calls an external script to run on background, for example:
The problem is that the apache probably waits on this script and returns only after the script ends (I wrote such a script that only sleeps for 30 sec and the web page returned to me after 30 sec and not immediatelly as expected).
when I run a regular perl scripts that calls $myScript in the background, I have no problem, the prompt returns immediatelly and the script runs in the background.
Anyone has an idea what's the problem here and how to solve it?