tldr/pages/common/wait.md

12 lines
236 B
Markdown
Raw Normal View History

2016-05-23 22:46:41 +03:00
# wait
> Wait for a process to complete before proceeding.
2016-08-09 12:58:49 +03:00
- Wait for a process to finish given its process ID (PID) and return its exit status:
2016-05-23 22:46:41 +03:00
`wait {{pid}}`
- Wait for all processes known to the invoking shell to finish:
`wait`