RE: Apache Subprocess

2007-06-28 Thread khan.sajid
Hi Scott, The program itself is not invoked, I tried with some other as you mentioned but no luck, In short Apache SubProcess is not working for me, Even the example that's mentioned in the website, May be I am missing something very basic, Any help?? Thanks, -Original Message-

Re: Apache Subprocess

2007-06-22 Thread Scott Gifford
ing so that apache can start executing the > Apache::SubProcess package ? Well, you will need to say "use Apache::SubProcess", but I assume you would get a compile-time error if you didn't do that. -Scott.

RE: Apache Subprocess

2007-06-22 Thread khan.sajid
executing the Apache::SubProcess package ? Thanks, Sajid -Original Message- From: Scott Gifford [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 11:32 PM To: Sajid Khan (WT01 - Computing, Storage & Software Products) Cc: modperl@perl.apache.org Subject: Re: Apache Subprocess Hi

Re: Apache Subprocess

2007-06-21 Thread Scott Gifford
Hi Khan, <[EMAIL PROTECTED]> writes: [...] > I was trying in the lines of below code from http://perl.apache.org/docs/2.0/ > api/Apache/SubProcess.html . > > # write to/read from the process > $command = "/tmp/in_out_err.pl"; > ($in_fh, $out_fh, $err_fh) = $r->spawn_proc_prog($command);

RE: Apache Subprocess

2007-06-21 Thread khan.sajid
Any reply on this, I am literally struct. Please let me know your ideas -Sajid Hi Folks, I was trying in the lines of below code from http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html . # write to/read from the process $command = "/tmp/in_out_err.pl"; ($in_fh, $out_fh, $e

Apache Subprocess

2007-06-20 Thread khan.sajid
Hi Folks, I was trying in the lines of below code from http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html. # write to/read from the process $command = "/tmp/in_out_err.pl"; ($in_fh, $out_fh, $err_fh) = $r->spawn_proc_prog($command); print $in_fh "hello\n"; $output = read_dat

Re: Apache::SubProcess build problem

2004-08-15 Thread Stas Bekman
Tom Murphy wrote: Resurrecting an old one here, but I am running into the same issue. Has anyone successfully ported Apache::SubProcess to work with Perl 5.8.x and MP1? If not, a pointer to anything that will help with the transition. As this email mentions, I've ported A-SP to mp2 and it

RE: Apache::SubProcess build problem

2004-08-12 Thread Tom Murphy
Resurrecting an old one here, but I am running into the same issue. Has anyone successfully ported Apache::SubProcess to work with Perl 5.8.x and MP1? If not, a pointer to anything that will help with the transition. Thanks, Tom Murphy > -Original Message- > From: Stas

Re: [Question] Newbie: Apache::SubProcess to spawn PHP commands

2004-02-19 Thread Stas Bekman
PHP is processed okay if I add an appropriate FilesMatch/SetHandler directive for those .php files, but obviously doesn't do the Mason formatting stuff) So, I've created a module "Apache::PHP" which uses the Apache::SubProcess module to exec the command "php -f $r->

[Question] Newbie: Apache::SubProcess to spawn PHP commands

2004-02-19 Thread Rob Saunders
cessed okay if I add an appropriate FilesMatch/SetHandler directive for those .php files, but obviously doesn't do the Mason formatting stuff) So, I've created a module "Apache::PHP" which uses the Apache::SubProcess module to exec the command "php -f $r->filename". Th

Re: Apache::SubProcess build problem

2003-11-25 Thread Stas Bekman
Rafael Garcia-Suarez wrote: I can't build Apache::SubProcess 0.03 on AIX 5.2 with perl 5.8.2, mod_perl 1.29 and apache 1.3.29. The error (pasted below) puzzles me ; any clues ? $ make cp SubProcess.pm blib/lib/Apache/SubProcess.pm /opt/hexaflux/perl/bin/perl -e 'use ExtUtils::

Apache::SubProcess build problem

2003-11-25 Thread Rafael Garcia-Suarez
I can't build Apache::SubProcess 0.03 on AIX 5.2 with perl 5.8.2, mod_perl 1.29 and apache 1.3.29. The error (pasted below) puzzles me ; any clues ? $ make cp SubProcess.pm blib/lib/Apache/SubProcess.pm /opt/hexaflux/perl/bin/perl -e 'use ExtUtils::Mksymlists; Mksyml