Wait

From NovaOrdis Knowledge Base
Revision as of 23:20, 9 October 2019 by Ovidiu (talk | contribs) (→‎Overview)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.