Files
tldr/pages/common/wait.md
2024-10-12 11:19:27 +05:30

17 lines
327 B
Markdown

# wait
> Wait for a process to complete before proceeding.
> More information: <https://manned.org/wait>.
- 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`
- Wait for a job to finish:
`wait %{{N}}`