Wait Command - Control Process Completion | Online Free DevTools by Hexmos
Control process completion with the Wait Command. Monitor process states and manage job execution using shell commands. Free online tool, no registration required.
wait
Wait for a process to complete before proceeding. See also:
psto view information about running processes andwaitpid. More information: https://www.gnu.org/software/bash/manual/bash.html#index-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 (run
jobsto find the job number):
wait %{{job_number}}
- Display help:
wait --help