On Sun, Dec 3, 2023 at 10:02 AM Bart Schaefer wrote: > > % TRAPCHLD() { > wait $bang > q=$? > zle -I > print $q > zle -R > } > % > TRAPCHLD:wait:1: pid 560661 is not a child of this shell > 127 > > I suspect this has to do with order of operations in the signal > handlers but thought I'd ask for clues before digging in myself. I got impatient. Anyone see a problem with the attached patch? C03traps (and everything else) still passes.