Creating and saving map with shell script
I am trying to create and save map by running a shell script.But it takes sometime for the map to be created so it can be saved.Is there any automatic command to see if the whole map is created before the command for saving the map is run in script?Thanks.