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
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
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
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
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
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
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
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
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
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
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
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
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
. 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
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
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
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;
}
?
:
[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
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
19 matches
Mail list logo