結果 : make bash script wait for command to finish