tldr/pages/common/wait.md

13 lines
283 B
Markdown
Raw Permalink Normal View History

2016-05-23 20:46:41 +01:00
# wait
> Wait for a process to complete before proceeding.
> More information: <https://manned.org/wait>.
2016-05-23 20:46:41 +01:00
2016-08-09 10:58:49 +01:00
- Wait for a process to finish given its process ID (PID) and return its exit status:
2016-05-23 20:46:41 +01:00
`wait {{pid}}`
- Wait for all processes known to the invoking shell to finish:
`wait`