How to wait in bash for several subprocesses to finish and return exit code !=0 when any subprocess ends with code !=0? How to wait in bash for several subprocesses to finish and return exit code !=0 when any subprocess ends with code !=0? bash bash