Re: CGI: Running a forked background process
- From: "A. Sinan Unur" <1usa@xxxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 06:03:24 GMT
Hal Vaughan <hal@xxxxxxxxxxxxxxxxxxxx> wrote in
news:BLGdndCez5kUuibZnZ2dnUVZ_vadnZ2d@xxxxxxxxxxx:
I have a web page (served up by Apache 2) where a user click a link to
download a file. The link calls my Perl CGI script which takes the
parameters and generates a file to download. It takes time to
generate the file, so my idea was to fork like this:
if (!fork()) {
system("$ifile person=$id location=$loc");
exit();
}
http://www.stonehenge.com/merlyn/LinuxMag/col39.html
Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(remove .invalid and reverse each component for email address)
comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
.
- References:
- CGI: Running a forked background process
- From: Hal Vaughan
- CGI: Running a forked background process
- Prev by Date: CGI: Running a forked background process
- Next by Date: Re: How get UTF-8 from urlencoded web form
- Previous by thread: CGI: Running a forked background process
- Next by thread: Re: CGI: Running a forked background process
- Index(es):
Relevant Pages
|
|