I'm attempting to write a pretty simple script. It opens a Filemaker file successfully. That Filemaker file takes around 30-90 seconds to finish. When it's done, it writes a few .xml files into the same directory where my shell script and the Filemaker script reside.
In my script, how can I loop/wait until the Filemaker process is finished? Basically loop until the .xml files are created, then continue.
I've tried a couple of things and searched for solutions but can't get it to wait...
# -----
open fmp_file.fp7
Thanks!