I tried use Apache::SubProcess, i install
Apache-SubProcess-0.02 and i change the
script:
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
|
- system()/exec() ? Mauricio Amorim
- Re: system()/exec() ? Aaron Kennedy
- Re: system()/exec() ? Mauricio Amorim
- Re: system()/exec() ? Stas Bekman
- Re: system()/exec() ? Stas Bekman
- Re: system()/exec() ? Mauricio Amorim