On 4/2/24 12:22 PM, Carl Edquist wrote:
This seems like it would be pretty easy to fix if a coproc closed the fds
corresponding to an existing coproc in the child after the fork
the forked coproc has to close its fds to/from _all_ other existing coprocs
(as there can be several).
And there is the issue. Without multi-coproc support, the shell only keeps
track of one coproc at a time, so there's only one set of pipe file
descriptors to close.
--
``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/