プロセスがあります
"verifyEmail"
I run this in script as verifyEmail 0 1000
このプロセスの実行が終了するまで待ってから、シェルスクリプトの次の命令に進むにはどうすればよいですか?verifyEmailの実行には60分以上かかります
私は試した
while ! checkprocess "verifyEmail"; do ##Checkprocess is a function which returns 0 or 1
sleep 60 ## based on process present or not
done