[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: system()/exec() ?
From: Aaron Kennedy <s363004 () student ! uq ! edu ! au>
Date: 2001-07-31 23:58:28
[Download RAW message or body]
Hi,
If I'm interpreting you correctly, you'll find that your scripts are
actually executing correctly, you're simply not capturing their output,
which, presumably, is what you want. The mod_perl docs mention that you
can solve this by recompiling your perl installation to support sfio, but
I've always found this a little extreme.
My prefered solution is to use a perl module called Apache::SubProcess
(search on CPAN) which redefines system()/exec() to work from within a
mod_perl script.
Cheers,
Aaron
On Tue, 31 Jul 2001, Mauricio Amorim wrote:
> Hi
> I see an discussion in April by Mike Austin, about utilization of exe=
c 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=B4t execute and apache display nothing i=
n the logs/error_log
>
> thank you
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic