On 4/20/20 6:02 PM, Jason A. Donenfeld wrote:

> It seems like process substitution fifo lifetime is really tricky. You
> can't really reference track, since the path is just a string that
> could be manipulated. So how do you know when it's safe to clean up
> that fd and that nobody is using it? 

In general, you clean up a procsub fd, and remove any named pipes from the
file system, when the block that uses it (or created it) ends. That is, as
you noticed, sometimes tricky.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to