Re: Forking a process [in Practical mod_perl book]

2008-04-17 Thread Raymond Wan
Hi all, Raymond Wan wrote: - my $r = shift; $r->send_http_header('text/plain'); - Sorry for the trouble but while googling for the problem, I came by the reason: "send the output of system() to the client": http://www.mail-archive.com/[EMAIL PROTECTED]/msg36062.html I also real

Forking a process [in Practical mod_perl book]

2008-04-17 Thread Raymond Wan
Hi all, I'm trying to fork a long-running process which I do not want to wait for. I was getting a lot of "ssh " processes, so I did some googling and found this from the aforementioned O'reilly book: http://www.perl.com/lpt/a/701 And sure enough, there's a section on "Avoiding Zombie Pro