commands:builtin:wait

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
commands:builtin:wait [2020/06/28 06:54]
thebonsai 5.1-alpha
commands:builtin:wait [2020/06/28 06:56]
thebonsai 5.1-alpha
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) | +| ''​-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 ​                   ​|
  
 ==== Return status ==== ==== Return status ====
  • commands/builtin/wait.txt
  • Last modified: 2020/06/28 06:56
  • by thebonsai