A named pipe: write to it with one or more processes, read to it with another. All sorts of neat things become easier with a fifo.
See //aplawrence.com/SCOFAQ/scotec7.html#netdevice for an example, and also //aplawrence.com/Unixart/remoteprint.html. Here are some other ideas: http://searchenterpriselinux.techtarget.com/tip/1,289483,sid39_gci955458,00.html.
Got something to add? Send me email.
Increase ad revenue 50-250% with Ezoic
Inexpensive and informative Apple related e-books:
Are Your Bits Flipped?
Take Control of OS X Server
Sierra: A Take Control Crash Course
Take Control of the Mac Command Line with Terminal, Second Edition
Photos: A Take Control Crash Course