diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/language/doc/wait.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/language/doc/wait.hlp')
-rw-r--r-- | pkg/language/doc/wait.hlp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkg/language/doc/wait.hlp b/pkg/language/doc/wait.hlp new file mode 100644 index 00000000..8ecef7a2 --- /dev/null +++ b/pkg/language/doc/wait.hlp @@ -0,0 +1,36 @@ +.help wait Feb86 language +.ih +NAME +wait -- wait for a background job to terminate +.ih +USAGE +wait [job job ...] +.ih +PARAMETERS +.ls job +A background job number, as printed when the job is submitted, +or as given by the \fIjobs\fR command. +.le +.ih +DESCRIPTION +The \fIwait\fR 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. +.ih +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 +.ih +BUGS +Deadlock is possible. +.ih +SEE ALSO +jobs, kill, service +.endhelp |