bidirectional pipes

[email protected] ("Anil Madhavapeddy") Thu, 1 Jun 2000 11:49:21 +0100
Newsgroups php.version4
Message-ID <[email protected]>
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, <[email protected]>