Inter-process communication without FIFOs

后端 未结 5 1706
一向
一向 2021-01-31 22:16

Inside a BASH script we can have multiple processes running in background which intercommunicate using named pipes, FIFOs registered on the filesystem. An example of this could

5条回答
  •  梦谈多话
    2021-01-31 23:09

    Bash 4 has coprocesses.

    You can also use anonymous named pipes, aka process substitution in Bash 2, 3 or 4.

提交回复
热议问题