Wait

From NovaOrdis Knowledge Base
Jump to: navigation, 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.