Help for this page
$SIG{CHLD} = sub {while (waitpid(-1, WNOHANG) > 0){} };
$SIG{CHLD} = 'IGNORE' # This often works with a few exceptions. # set 'IGNORE' is fastest if it does work. # But there is something to be said for work +ing # all the time, albeit slower (see first sol +ution)