More of an academic/theory question - say I have process A piping into process B:
A | B
normally, the way pipes are designed, is if process A dies, the pipeline will gracefully shutdown. However, if process B dies, there will be a write error if A tries to keep writing to B.
Is there an acceptable way for B to die first, is it possible to make it circular in some fashion?
This probably won't work, but something like this:
mkfifo circ
A circ
the question, again, is if there is a graceful way for B to die before A?
Asked by Alexander Mills
(10734 rep)
Oct 10, 2023, 07:35 PM