You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rasoul Hajikhani <ra...@rhythm.com> on 2003/06/17 00:44:59 UTC

IPC::Open3

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?

Any suggestions and help is greatly appreciated.
-r


Re: IPC::Open3

Posted by Stas Bekman <st...@stason.org>.
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 encountered the same issue?
> 
> Any suggestions and help is greatly appreciated.

It's a known problem. The solution: s/IPC::Open3/IPC::Run/

Barries has also written IPC::Run3, which should act as a drop-in replacement 
for IPC::Open3, if you have to stick with the same API.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com