fix extension in a makefile
call both Process waiting methods even if one process exits with an error