[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Two way pipe
From: |
Neil Jerram |
Subject: |
Two way pipe |
Date: |
Thu, 26 Apr 2007 08:31:32 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Hi all,
Is there any technical reason for why (ice-9 popen) only provides one
way pipes? In other words, you can either write to the subprocess, or
read from it, but not both. Are there extra technical difficulties
involved with a two way pipe?
I have a current requirement to create a subprocess (mplayer in slave
mode) and then both write to and read from it. And it seems to me
that this kind of requirement probably isn't uncommon.
Telford Tendys once posted a possible implementation of this at
http://www.red-bean.com/guile/guile/old/3038.html. Can anyone see any
problems with that implementation?
Regards,
Neil
- Two way pipe,
Neil Jerram <=