IPC::Open3

2003-06-16 Thread Rasoul Hajikhani
Hi there, I am having trouble making open3 work with perl, v5.6.1 built for i386-linux. I am running Apache/1.3.27 Ben-SSL/1.48 (Unix) PHP/4.2.3 mod_perl/1.27. My problem is that I can't write to STDIN. Does any one know of any solution to this problem? Has any one encountered the same issue

Re: IPC::Open3

2003-06-16 Thread Stas Bekman
Rasoul Hajikhani wrote: Hi there, I am having trouble making open3 work with perl, v5.6.1 built for i386-linux. I am running Apache/1.3.27 Ben-SSL/1.48 (Unix) PHP/4.2.3 mod_perl/1.27. My problem is that I can't write to STDIN. Does any one know of any solution to this problem? Has any one

open3 does not proper work in mod_perl context

2002-05-13 Thread Silvio Wanka
Hi, I will upgrade from Embedded Perl version 5.00502 for Apache/1.3.6 (Unix) mod_perl/1.19 to Embedded Perl version v5.6.1 for Apache/1.3.23 (Unix) mod_perl/1.26 But now all mod_perl scripts which uses IPC::Open3::open3() fails because STDIN of the new process is closed. I have done some

OPEN3

2002-04-10 Thread Vuillemot, Ward W
I resolved some of my other open3 related errors by undef stdin, etc per the docs. How stdin or stdout have tow references is beyond me, though. For the time being it works, though. Nonetheless, I have getting the following two (related, I assume) errors. I cannot find any docs

RE: Open3

2002-04-09 Thread Vuillemot, Ward W
exist at C:/apache/Apache/cgi-lib/FLOE/App/Btops.pm line 102. [Tue Apr 09 16:32:38 2002] [error] open3: Can't call method close on an undefined value at C:/Perl/lib/IPC/Open3.pm line 327. Per UNTIE docs, this occurs when a second reference exits for the tied object. I do not see where, though

Re: Open3

2002-04-05 Thread Lupe Christoph
In local.modperl you write: I have asked this question before, and received answers that have helped me in quest. However, my problem persists. So I would like to direct this question to those who have used gpg, and open3. I am having trouble writing to stdin when an apache thread calls open3

Re: Open3

2002-04-05 Thread Ron Savage
On Wed, 03 Apr 2002 13:54:09 -0800, Rasoul Hajikhani wrote: Elizabeth Mattijsen wrote: At 01:44 PM 4/3/02 -0800, Rasoul Hajikhani wrote: Hello folks, I am writing a web based interface to gpg and am using IPC::Open3 Try IPC::Run -- Cheers Ron Savage, [EMAIL PROTECTED] on 06/04/2002 http

Open3

2002-04-04 Thread Rasoul Hajikhani
Folks, I have asked this question before, and received answers that have helped me in quest. However, my problem persists. So I would like to direct this question to those who have used gpg, and open3. I am having trouble writing to stdin when an apache thread calls open3. However, the same code

Open3

2002-04-03 Thread Rasoul Hajikhani
Hello folks, I am writing a web based interface to gpg and am using IPC::Open3 and IO::Select to manage STDIN, STDOUT and STDERR handles. But, I can not get stdin to work properly. Here is my code: $gpgCommand = gpg --homedir $home --no-default-keyring --secret-keyring rasoul.asc --decrypt

IPC::Open3 Corrected code version

2002-04-03 Thread Rasoul Hajikhani
Hello folks, I am writing a web based interface to gpg and am using IPC::Open3 and IO::Select to manage STDIN, STDOUT and STDERR handles. But, I can not get stdin to work properly. Here is my code: $gpgCommand = gpg --homedir $home --no-default-keyring --secret-keyring rasoul.asc --decrypt

Re: Open3

2002-04-03 Thread Elizabeth Mattijsen
At 01:44 PM 4/3/02 -0800, Rasoul Hajikhani wrote: Hello folks, I am writing a web based interface to gpg and am using IPC::Open3 and IO::Select to manage STDIN, STDOUT and STDERR handles. But, I can not get stdin to work properly. Here is my code: I am using perl 5.053 and Apache/1.3.14 Ben-SSL

Re: Open3

2002-04-03 Thread Rasoul Hajikhani
Elizabeth Mattijsen wrote: At 01:44 PM 4/3/02 -0800, Rasoul Hajikhani wrote: Hello folks, I am writing a web based interface to gpg and am using IPC::Open3 and IO::Select to manage STDIN, STDOUT and STDERR handles. But, I can not get stdin to work properly. Here is my code: I am using

Re: IPC::Open3 Corrected code version

2002-04-03 Thread Sreeji K Das
This is a known issue with latest mod_perl. Search the archives for details. This is the temp. solution. Before you call open3() do: untie(*STDIN); untie(*STDOUT); Sreeji --- Rasoul Hajikhani [EMAIL PROTECTED] wrote: Hello folks, I am writing a web based interface to gpg and am using IPC

RE: Open3

2002-04-03 Thread Vuillemot, Ward W
. Or is there an alternative method I might explore? thanks! Ward : -Original Message- : From: Rasoul Hajikhani [mailto:[EMAIL PROTECTED]] : Sent: Wednesday, April 03, 2002 1:54 PM : To: Elizabeth Mattijsen : Cc: [EMAIL PROTECTED] : Subject: Re: Open3

open3 and mod_perl

2002-03-13 Thread Rasoul Hajikhani
Hello folks, I am writing a web interface for the GPGP module that would allow users to create a new public and private key and adds them to the corporate key ring. I will be useing IPC::Open3 and IO::Select to control stdin and stdout of GPGP. Are there any issues that I should be aware w

Re: open3 and mod_perl

2002-03-13 Thread Geoffrey Young
Rasoul Hajikhani wrote: Hello folks, I am writing a web interface for the GPGP module that would allow users to create a new public and private key and adds them to the corporate key ring. I will be useing IPC::Open3 and IO::Select to control stdin and stdout of GPGP. Are there any

Re: [Slightly OT] IPC::Open3 broken in mod_perl/perl 5.6.0?

2000-04-20 Thread Doug MacEachern
by: use IPC::Open2; $pid = open2(\*A, \*B, '/usr/bin/ls'); The error log shows: [error] Can't locate object method "FILENO" via package "Apache" at /usr/local/lib/perl5/5.6.0/IPC/Open3.pm line 183. does this fix it: sub Apache::FILENO { untie *STDOUT; fileno STDOUT; } ?

Re: [Slightly OT] IPC::Open3 broken in mod_perl/perl 5.6.0?

2000-04-17 Thread Richard Titmuss
: [error] Can't locate object method "FILENO" via package "Apache" at /usr/local/lib/perl5/5.6.0/IPC/Open3.pm line 183. I do not understand enough about the perl/mod-perl guts to produce a patch. Any help appreciated. Thanks, Richard -- Richard Titmuss

[Slightly OT] IPC::Open3 broken in mod_perl/perl 5.6.0?

2000-04-15 Thread Michael J Schout
Sorry if this is slightly off topic. I seem to have run into problems using IPC::Open3 under mod_perl 1.22 and perl 5.6.0. This probelm only seems to have cropped up after I upgraded form perl 5.005 to perl 5.6.0. What happens is I have an exception handler that opens gpg and uses gpg