in reply to Executing a command after the preceding command finished processing

In your case I would suggest to find out the process id for the previous command or dependent command you are running. Wait until that process is complete then go for the next command to execute.

  • Comment on Re: Executing a command after the preceding command finished processing