[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    RE: Apache Subprocess
From:       <khan.sajid () wipro ! com>
Date:       2007-06-28 10:18:07
Message-ID: 87BAAE3ECD405B4984A13958914500926ECEEE () blr-m3-msg ! wipro ! com
[Download RAW message or body]


 
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-----
From: Scott Gifford [mailto:sgifford@suspectclass.com] 
Sent: Saturday, June 23, 2007 9:43 AM
To: Sajid Khan (WT01 - Computing, Storage & Software Products)
Cc: modperl@perl.apache.org
Subject: Re: Apache Subprocess

<khan.sajid@wipro.com> writes:

> Hi Scott,
> 
> I do not see anything in error log, The print line before and after 
> the command also works fine,The webserver has permission to run the 
> command since I can execute the same command using backtick like 
> `/tmp/in_out_err.pl`

Huh, that is very odd.  Are you sure the program is not getting executed
at all?  Is it possible it's just not getting its input or sending its
output because of buffering?  What if instead of that program you run
something like "/bin/echo Test"?

> Do we need to configure anything 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.


The information contained in this electronic message and any attachments to this \
message are intended for the exclusive use of the addressee(s) and may contain \
proprietary, confidential or privileged information. If you are not the intended \
recipient, you should not disseminate, distribute or copy this e-mail. Please notify \
the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check \
this email and any attachments for the presence of viruses. The company accepts no \
liability for any damage caused by any virus transmitted by this email.  
www.wipro.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic