> > This was reported as a bug against bash-3.2.
> 
> Cool. Is there any hint/doc/faq/how-to implement old behaviour, i.e. wait
> until all children of current bash process will exit?

I imagine a loop on wait until it returns because there are no unwaited-for
children.  You can detect the "interrupted" exit status and behave
accordingly.

I'll probably make this posix-mode-specific behavior or add an option for
it in the next version.

> P.S. I've not seen this information in 'help wait' or 'man bash' - is this
> current 'correct' behaviour is documented?

No.  I'm not able to put everything from the Posix spec into a man page.

Chet

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


Reply via email to