Re: Suitable for PEAR: A PHP4 implementation of Pearl's IPC::Open3
| From: | Jon Wood | Date: | Wed, 28 Apr 2004 00:34:25 +0000 |
| Subject: | Re: Suitable for PEAR: A PHP4 implementation of Pearl's IPC::Open3 | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28467@lists.php.net to get a copy of this message | ||
On Wednesday 28 April 2004 01:10, Christian Hammers wrote:
> On Sun, 25 Apr 2004 15:42:07 +0200
>
> Christian Hammers <ch@lathspell.de> wrote:
> > I struggeled for several hours solving the problem to write a
> > IPC::Open3 function I knew from Perl which was capable to do a
> > popen(), write on its stdin and read both, stdout *and* stderr with
> > arbitrary amount of data and order of input/output.
>
> ...for the archive:
> I just found out that there is a System_Command PEAR
> module which already does nearly the same although by just piping stderr
> to a text file and reading ist which is of course absolutely uncool but
> works as well. So I won't my Module.
>
If you're code does the same job without the hack of writing it to a file
first, then maybe you could submit a patch to the author of System_Command.
> bye,
>
> -christian-