Named pipes allow two processes to communicate; See mkfifo
Make FIFOs (named pipes). Before considering named pipes, we should see if the Bash built–in
coproc
can solve our problem, See Coprocesses.
Execute the program mkfifo
using the given optional command line arguments.
There are multiple ways to use named pipes as interprocess communication method.
• file fifo example one: | Each process opens the FIFO pathnames. | |
• file fifo example two: | Redirection of standard channels to FIFO pathnames. |
This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.