tldr/pages/common/wait.md
2016-08-09 10:58:49 +01:00

236 B

wait

Wait for a process to complete before proceeding.

  • Wait for a process to finish given its process ID (PID) and return its exit status:

wait {{pid}}

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

wait