Igor Shevchenko wrote: [...]
exec ( @ARGV );
why do you need to call exec() here? It doesn't detach if you don't call it? I think it should make no difference at all.
I need to run the real script somehow, hence the call to "exec".
yes, of course, so this was just a wrapper. But you end up with yet another perl restart. If that script is only executed via this wrapper, you should merge the two and save some more cycles. exec() would be most useful for some C binary....
in any case this thread and code samples will documented at: http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html#C_spawn_proc_prog_ soonish.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com