Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
commands:builtin:wait [2020/06/28 06:56] thebonsai 5.1-alpha |
commands:builtin:wait [2020/06/28 06:56] (current) thebonsai [Table] |
||
---|---|---|---|
Line 17: | Line 17: | ||
==== Options ==== | ==== Options ==== | ||
- | ^ Option ^ Description ^ | + | ^ Option ^ Description ^ |
- | | ''-n'' | Waits for "the next" child to exit (as opposed to "all children" without this option). Accepts a list of IDs (jobs) | | + | | ''-n'' | Waits for "the next" child to exit (as opposed to "all children" without this option). Accepts a list of IDs (jobs) | |
- | | ''-f'' | Waits for the termination of the given ''ID'' (instead of waiting for a status change only) | | + | | ''-f'' | Waits for the termination of the given ''ID'' (instead of waiting for a status change only) | |
- | | ''-p VARNAME'' | When waiting for a list (-n) or all jobs, sets the job ID to the job that was actually terminated | | + | | ''-p VARNAME'' | When waiting for a list (-n) or all jobs, writes the job ID to the job that was actually terminated into the variable ''VARNAME'' | |
==== Return status ==== | ==== Return status ==== |