Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 2
    You'd plausibly have the same problem with $msg_fifo, so you might want ... done 1<>"$msg_fifo" there, too. Or just have exec 3<>onefifo 4<>otherfifo and use -u 3 and -u 4 on the reads for symmetry. But yeah, if both writers close, that might fall into a busyloop. If that turns out to be an issue, I guess you could add an sleep .1 inside the loop, though of course it'd make the reaction time longer. Commented Jun 13, 2022 at 17:40