結果 : shell script wait until command completes