Bug#566641: bash: wait $pid exits before $pid has terminated

2010-11-07 Thread Jilles Tjoelker
This looks rather similar to #566639 and can be closed for the same reason. The behaviour is as specified by POSIX and does not seem broken to me. -- Jilles Tjoelker -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas

Bug#566641: bash: wait $pid exits before $pid has terminated

2010-01-24 Thread Adam M. Costello
Package: bash Version: 4.1-1 Severity: normal I've discovered a situation in which "wait $pid" exits before process $pid has terminated. Here's a script to reproduce it: #!/bin/sh # # This script illustrates an anomaly when trapping SIGTSTP and waiting # for a child to exit. When the suspend ke