Piping into two processes simultaneously

Dan Bernstein brnstnd at kramden.acf.nyu.edu
Tue Sep 11 07:08:28 AEST 1990


In article <1990Sep06.150939.18741 at chinet.chi.il.us> les at chinet.chi.il.us (Leslie Mikesell) writes:
> Both tee and processes are perfectly happy with FIFO's if your system
> has them.

Even if your system does have FIFOs, it's a bad idea to use tee to pipe
into two processes at once. If one of the processes blocks, tee will
block after a pipeful.

Using multitee (under BSD) is much more sensible.

---Dan



More information about the Comp.unix.questions mailing list