cleanup_for_exec() v/s spawn_proc_prog()

[email protected]
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Hi,

I was just reading about Apache::SubProcess [1] because I wanted to do
something like [2] . But now with Apache2::SubProcess I'm a little bit
confused with the idea of spawn_proc_prog() . I will really appreciate if
someone could explain me the differences between cleanup_for_exec() and
spawn_proc_prog() .


[1]:
http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executing_Subprocesses_from_mod_perl

[2]:
http://perl.apache.org/docs/1.0/guide/performance.html#A_Complete_Fork_Example

--
Israel Leiva
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.