bugfix: "returncode" is never set, so get the exit status from `waitpid`
bugfix: "returncode" is never set, so get the exit status from `waitpid`

Ensembl/ensembl-hive,Ensembl/ensembl-hive,Ensembl/ensembl-hive,Ensembl/ensembl-hive