The batch queue GILDAS_BATCH should have a job limit of 1, so that all tasks submitted by command SUBMIT execute in sequence. There may even be intervening jobs from other users.
This is not the case for tasks activated by command RUN , which starts execution immediately. Command WAIT can be used to place the activating program in ``hibernation'' until a specified task (by default the last one) has completed.
Command SPY can also be used to monitor the execution of tasks activated by command RUN.