|There's more than one way to do things|
Closing parent CGI after fork()by hambo (Novice)
|on May 04, 2004 at 11:53 UTC||Need Help??|
hambo has asked for the
wisdom of the Perl Monks concerning the following question:
Want to know about CGI. I have a script burn.pl, which creates a web page using CGI.pm. Simple enough. Now, inside this, it should fork another perl script, called sleep.pl, which should sleep until I send it a SIGALRM. This all works, but the web page continues to have the hour glass (like the page is waiting for input from the CGI) until I send my sleeping process the SIGALRM. How would I get the web page to do the complete job (i.e. not wait with the hourglass) while still running the sleep.pl in the background?
My sleep.pl is simple:
I know little about CGI, so this is all a bit new to me.
20040504 Edit by broquaint: Changed title from 'CGI question - getting rid of the hour glass'