Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 53133 invoked from network); 17 Aug 2007 07:25:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 07:25:10 -0000 Received: (qmail 17616 invoked by uid 500); 17 Aug 2007 07:25:02 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 17606 invoked by uid 500); 17 Aug 2007 07:25:02 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 17595 invoked by uid 99); 17 Aug 2007 07:25:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 00:25:02 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of manoj.bist1@gmail.com designates 66.249.82.224 as permitted sender) Received: from [66.249.82.224] (HELO wx-out-0506.google.com) (66.249.82.224) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Aug 2007 07:25:00 +0000 Received: by wx-out-0506.google.com with SMTP id i29so392873wxd for ; Fri, 17 Aug 2007 00:24:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=gIlsj1L7WPCIfBa4oDSoaitcJpOHMczCSsuv+0nApBm9P/j1FlTuadZGWQZmadTNbyV2e5jjWmChj5x1+pSKeNnJg4a9/liVhLO6RWIp3Ao8iq7JI8HWJaY2WNOOFOz3d1a+4yVyUSHiueKJgMaXlw0SBjbdD3PuXH4lwsXtJ+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ep6w18qwc9vsA7BhAh6qTfzL7MJyT2/fmdf1fJxNQL7tzUIYYSaxqbAZ13BxvRNjV8UdMeisj/GxsBKqfrSfgvSFSToXp0/hsLegEsAUM+NHmmDFlwqSSd7bzs7SkLZX2AHMDruaeABnCo1eFUQC1CAQ6cHkZ74ZJUTmhT0zNFY= Received: by 10.70.69.2 with SMTP id r2mr4326514wxa.1187335479656; Fri, 17 Aug 2007 00:24:39 -0700 (PDT) Received: by 10.100.41.13 with HTTP; Fri, 17 Aug 2007 00:24:39 -0700 (PDT) Message-ID: <8ec3b7c10708170024s11628f8ep285c589b644b2d1f@mail.gmail.com> Date: Fri, 17 Aug 2007 00:24:39 -0700 From: "Manoj Bist" To: "=?ISO-8859-1?Q?j=F3nJ=F3sef_Bjarnason?=" Subject: Re: Problem with IPC:RUN on Windows Cc: modperl@perl.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_87446_24438600.1187335479626" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_87446_24438600.1187335479626 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline My understanding is that a perl module that manipulates stdout is not expected to work under mod_perl. IPC::Run manipulates stdout to make different processes connected by pipes work. You can also go through the following guidelines for porting your scripts t= o mod_perl. http://perl.apache.org/docs/1.0/guide/porting.html#Output_from_system_calls The following links has guidelines on running subprocesses from mod_perl. http://perl.apache.org/docs/1.0/guide/performance.html#Forking_and_Executin= g_Subprocesses_from_mod_perl On 8/16/07, j=F3nJ=F3sef Bjarnason wrote: > > Dear all.... > > It has been difficult to subscribe to the mailing list, I was refused due > to some SPAM control when using my usual account jonb@it-cons.com. I > would really like to know why that happened, as we do not send nor have > we ever sent SPAM. > > But to my problem with IPC..... > > I am using W2K on a dual CPU system running Apache 2.2.4 with mod_perl2. > I am also using Leon Brocard's Graphviz module to create graphs on the > fly, it starts the program dot.exe via IPC::RUN. dot.exe gets started > but never returns anything and stays in queue until the system is shut > down. > > Does anyone know if this is a known problem with IPC::RUN on Windows, > and/or if it can be resolved and how. > > Thanks. > > > =DEessi t=F6lvup=F3stur og vi=F0hengi g=E6ti innihaldi=F0 tr=FAna=F0arupp= l=FDsingar og/e=F0a > einkam=E1l og ereing=F6ngu =E6tla=F0ur =FEeim sem hann er st=EDla=F0ur = =E1. Ef sending > =FEessi hefur ranglega borist y=F0ur vinsamlega g=E6ti=F0 fyllsta tr=FAna= =F0ar, > tilkynni=F0 sendanda og ey=F0ileggi=F0 sendinguna eins og skylt er skv. 4= 7. > gr. laga nr. 81/2003 um fjarskipti. > > The information transmitted, including any attachment, may contain > confidential and/or privileged material and is intended only for the > addressee. If you receive this in error, please keep the information > confidential, contact the sender and delete the material from your > system. > ------=_Part_87446_24438600.1187335479626 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline My understanding is that a perl module that manipulates stdout is not expec= ted to work under mod_perl.  IPC::Run manipulates stdout to make diffe= rent processes connected by pipes work.

You can also go through the= following guidelines for porting your scripts to mod_perl.

http://perl.apache.org/docs/1.0/guide/porting.html#Out= put_from_system_calls

The following links has guidelines on runn= ing subprocesses from mod_perl.

http://perl.apache.org/doc= s/1.0/guide/performance.html#Forking_and_Executing_Subprocesses_from_mod_pe= rl

On 8/16/07, j=F3nJ=F3sef Bjarnason <jonb@nemendur.is> wrote:
Dear all....

It has been difficult to subscribe to the mailing list,= I was refused due
to some SPAM control when using my usual account jonb@it-cons.com. I
would really lik= e to know why that happened, as we do not send nor have
we ever sent SPAM.

But to my problem with IPC.....

I am u= sing W2K on a dual CPU system running Apache 2.2.4  with mod_perl= 2.
I am also using Leon Brocard's Graphviz module to create graphs o= n the
fly, it starts the program dot.exe via IPC::RUN. dot.exe gets started
bu= t never returns anything and stays in queue until the system is shut
dow= n.

Does anyone know if this is a known problem with IPC::RUN on Wind= ows,
and/or if it can be resolved and how.

Thanks.


=DEessi= t=F6lvup=F3stur og vi=F0hengi g=E6ti innihaldi=F0 tr=FAna=F0aruppl=FDsinga= r og/e=F0a
einkam=E1l og ereing=F6ngu =E6tla=F0ur =FEeim sem hann er st= =EDla=F0ur =E1. Ef sending
=FEessi hefur ranglega borist y=F0ur vinsamle= ga g=E6ti=F0 fyllsta tr=FAna=F0ar,
tilkynni=F0 sendanda og ey=F0ileggi=F0 sendinguna eins og skylt er skv.= 47.
gr. laga nr. 81/2003 um fjarskipti.

The information transmit= ted, including any attachment, may contain
confidential and/or privilege= d material and is intended only for the
addressee. If you receive this in error, please keep the informationconfidential, contact the sender and delete the material from your
syst= em.

------=_Part_87446_24438600.1187335479626--