I use the Apache::SubProcess, but system/exec for a script in perl,
how:
system "script.pl";

It only work if i write:
system "/usr/xxx/perl script.pl";
In this manner, occurred an error with the request method in the script
(CGI) called (script.pl).

That's right ?


----- Original Message -----
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Mauricio Amorim" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 11:50 PM
Subject: Re: system()/exec() ?


> On Tue, 31 Jul 2001, Mauricio Amorim wrote:
>
> >     Hi
> >     I see an discussion in April by Mike Austin, about utilization of
exec and system commands with mod_perl.
> >     Anybody know if is possible to use system and exec commands, because
i tried use it, but the script donīt execute and apache display nothing in
the logs/error_log
>
> http://perl.apache.org/guide/porting.html#Output_from_system_calls
>
>
> _____________________________________________________________________
> Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
> http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
>
>

Reply via email to