# There's another process you want to wait on. In this example, # you know the pid, and it's contained in the file $PID_FILE. while ps -p `cat $PID_FILE` > /dev/null; do sleep 1; done # Now you can continue knowing that process has finished...
You need to create an account or log in to post comments to this site.
Otherwise, use .