結果 : bash script wait for command to finish