bidirectional pipes
| From: | Anil Madhavapeddy | Date: | Thu, 01 Jun 2000 10:49:21 +0000 |
| Subject: | bidirectional pipes | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-16013@lists.php.net to get a copy of this message | ||
Hi,
I would like to open a process for both reading and writing
(in this case, to pipe some input to enscript, and then read
the output).
However, the man page for popen() states that I can only open
a pipe unidirectionally. So at the moment I have to write the
input to temp file, and then call enscript with that.
Is there any way to get around this with two-way pipes?
Thanks,
Anil
--
Anil Madhavapeddy, <anil@recoil.org>