Andrew McNabb wrote:
On Thu, Jul 27, 2006 at 10:27:26PM -0600, Byron Clark wrote:
Sorry, that was a mistake in the explanation.  open(2) for reading _or_
writing on a pipe will block until open(2) is called on the other end of
the pipe.

So, the only thing that matters is that you open the pipes in the same
order for both commands.


There we go.  Now I'm convinced.  Thanks, Byron.

By the way, Andrew, you may like this hack better than netcat and named pipes (I do):

   http://thesmithfam.org/blog/?p=21

--Dave

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to