On Tue, 31 Jul 2001, Mauricio Amorim wrote:
> I tried use Apache::SubProcess, i install Apache-SubProcess-0.02 and i change the
>script:
http://perl.apache.org/guide/modules.html#Apache_SubProcess
> use Apache qw(exit);
> use Apache::SubProcess qw(system exec);
> use CGI qw/:standard :html3/;
> +
> +
> +
> system("listarprograma.pl");
>
> The following error is displayed in the Apache error_log :
> [Tue Jul 31 21:23:43 2001] [error] (2)No such file or directory: Apache::SubProcess
>exec of listarprograma.pl failed
> But listarprograma.pl is in the current directory of the script running.
>
> I tried put the complete PATH
> system("/home/masilva/local/apachelocal/cgi-bin/perl/ag1/listarprograma.pl");
>
> [Tue Jul 31 21:31:55 2001] [error] (2)No such file or directory: Apache::SubProcess
>exec of /home/masilva/local/apachel
> ocal/cgi-bin/perl/ag1/listarprograma.pl failed
>
> Anybody can help-me.
>
> Thank you
> ----- Original Message -----
> From: Mauricio Amorim
> To: [EMAIL PROTECTED]
> Sent: Tuesday, July 31, 2001 8:21 PM
> Subject: system()/exec() ?
>
>
> 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
>
> thank you
>
_____________________________________________________________________
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/