Files
cheatsheet-tldr/tldr/wait

18 lines
376 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`