This is an old revision of the document!


The wait builtin command

wait [ID]

The wait builtin command is used to

  • wait for a specific job (asynchronous command) and report its exit status if the ID is given
  • wait for all running jobs (asynchronous commands)

Options

There are no options.

Exit status

  • when waiting for a specific given job, the return status of wait is the return status of the job it waited for
  • when waiting for all jobs (no specific ID given), the return status is zero (0)
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information
You could leave a comment if you were logged in.
  • commands/builtin/wait.1350732008.txt
  • Last modified: 2012/10/20 11:20
  • by thebonsai