in reply to Re^2: waitpid(-1, WNOHANG) is hangingin thread waitpid(-1, WNOHANG) is hanging
use POSIX qw( WNOHANG ); [download]