hotshot has asked for the wisdom of the Perl Monks concerning the following question:

Hello all!

I have a cgi script that calls an external script to run on background, for example:
`$myScript &`;
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?