Hi Stas, thanks for your reply.
I've forgotten to mention it, but I have already tried
BEGIN { delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; $ENV{PATH} = '/bin:/usr/bin'; }
Alex, please show me a complete minimal test case. You might be able to reproduce it by dropping the whole Mail::Mailer and just using a line similar to where it fails: exec( $exe, '-t', @$args ); e.g. exec ("/bin/echo", "hi"); I believe. If it doesn't work, use Mail::Mailer but give me a complete (minimal) module which still fails. Otherwise it's hard to reproduce it, since you only show part of it.
Also does the problem go away when you don't use the reloader? It's been ages since I last used StatINC, why does it print:
Apache::StatINC: process 4933 reloading Taskit.pm.
did you enable the debug mode or something. Does it happen during the reload or after it was reloaded. I suppose it was after it was reloaded. could it be that Mail::Mailer redefines $ENV{PATH} in its code? check what's the value that you get before you call the code that fails.
__________________________________________________________________ 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
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html