1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/wait.md

21 lines
368 B
Markdown
Raw Normal View History

2016-05-23 15:46:41 -04:00
# wait
> Wait for a process to complete before proceeding.
> More information: <https://manned.org/wait>.
2016-05-23 15:46:41 -04: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 15:46:41 -04:00
`wait {{pid}}`
- Wait for all processes known to the invoking shell to finish:
`wait`
2024-10-12 08:49:27 +03:00
- Wait for a job to finish:
`wait %{{job_number}}`
2025-03-26 00:36:41 +02:00
- Display help:
`wait --help`