IRAF help page for package language, program wait

from NOAO wait -- wait for a background job to terminateUSAGEPARAMETERSDESCRIPTIONEXAMPLESBUGSSEE ALSO

wait -- wait for a background job to terminate


USAGE

wait [job job ...]


PARAMETERS

job

A background job number, as printed when the job is submitted, or as given by the jobs command.


DESCRIPTION

The wait task causes the CL to hibernate until a background job or jobs terminates. No arguments, or a job number of 0 means to wait until all background jobs finish, while other arguments can be specified to wait for a particular job. If a background job is not running the wait returns immediately.


EXAMPLES

1. Wait for any background jobs to finish, beeping the terminal when done.

cl> wait;beep

2. Wait for job 3 to terminate.

cl> wait 3


BUGS

Deadlock is possible.


SEE ALSO

jobs, kill, service,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu