Sorry for replying so late.
I've been using pipes with file sources and sinks.
One trick you have to do is start the consumer before the
producer. For some reason if the writing on the pipes starts
before the reading, things get messed up.
Try starting the transmitter reading the pipe before you start
the process that writes to the pipes. That did the trick for me.
Charles
See man 7 fifo on your local Linux system.
Normally, the sending-side will block until the reading-side has
opened.
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
|