wait - Wait for process completion

Synopsis

wait [ job ... ]

Description

You can use wait to wait for the specified jobs to end. If job is not specified, qsh waits for all child processes to end.

Options

None.

Operands

Each job specifies an active job. The job can be specified as a:

Exit Status

When no job was specified, the exit status is:

When at least one job was specified, the exit status is the exit status of the last job.

Related information

Examples
  1. Wait for process id 16825 to end: wait 16825
  2. Wait for job number 5 to end: wait %5