Wait: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Linux =Overview= wait [n] Wait for the specified process and report its termination status. If n is not given, all currently active child...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
* https://www.gnu.org/software/bash/manual/html_node/Job-Control-Builtins.html | |||
=Internal= | =Internal= | ||
* [[Bash#Built-In_Commands|bash]] | |||
* [[Linux#Commands|Linux]] | * [[Linux#Commands|Linux]] | ||
=Overview= | =Overview= | ||
wait [ | wait [''jobspec''|''pid''] | ||
Wait until the process specified by ''pid'' or ''jobspec'' exits. Return the exit status of the last command waited for. If a jobspec is given, all processes in the job's pipeline are waited for. | |||
If no arguments are given, all currently active child processes are waited for, and the return code is zero. |
Latest revision as of 23:20, 9 October 2019
External
Internal
Overview
wait [jobspec|pid]
Wait until the process specified by pid or jobspec exits. Return the exit status of the last command waited for. If a jobspec is given, all processes in the job's pipeline are waited for.
If no arguments are given, all currently active child processes are waited for, and the return code is zero.