On 5/2/17 8:33 PM, Luiz Angelo Daros de Luca wrote: > Both waits should return 138? I detected this while trying to replace wait > with a function in order to > ignore when it returned because of a signal (with a very ugly hack). So, > the "builtin wait" behavior > was exactly the one I was trying to implement. > > I guess command wait could have an optional argument for both behavior > (exit or ignore on signal). > > Is this expected and simply not documented (doc bug), or both wait should > be equal? I just don't want to rely on a > bug behavior that might break in the future.
Both waits should return the same exit status. Using `builtin' should not conceal that aspect of wait's behavior. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/