Tee a Pipe Asynchronously
Posted
by User1
on Stack Overflow
See other posts from Stack Overflow
or by User1
Published on 2010-05-05T21:41:20Z
Indexed on
2010/05/05
21:48 UTC
Read the original article
Hit count: 231
I would like to write the same information to two pipes, but I don't want to wait for the first pipe to read. Here's an example
mkfifo one mkfifo two echo hi | tee one two & cat one & cat two &
cat one
does not start reading until cat two
is run. Is there a way to make cat one
run without waiting?
© Stack Overflow or respective owner