tldr/pages/common/wait.md

222 B

wait

Wait for a process to complete before proceeding.

  • Wait for given process id (pid) to finish and return its exit status:

wait {{pid}}

  • Wait for all processes known to the invoking shell to finish:

wait