mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-02 22:16:22 +08:00
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
635 B
635 B
waitpid
Wait for the termination of arbitrary processes. See also:
wait. More information: https://manned.org/waitpid.
- Sleep until all processes whose PIDs have been specified have exited:
waitpid {{process_id1 process_id2 ...}}
- Sleep for at most
nseconds:
waitpid {{[-t|--timeout]}} {{n}} {{process_id1 process_id2 ...}}
- Do not error if specified PIDs have already exited:
waitpid {{[-e|--exited]}} {{process_id1 process_id2 ...}}
- Sleep until
nof the specified processes have exited:
waitpid {{[-c|--count]}} {{n}} {{process_id1 process_id2 ...}}
- Display help:
waitpid {{[-h|--help]}}