mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
Shell: Add the `wait' builtin
This builtin...waits...for the jobs it's given (or all the existing jobs).
This commit is contained in:
parent
607931268e
commit
71bb62d03c
2 changed files with 40 additions and 1 deletions
|
@ -58,7 +58,8 @@
|
|||
__ENUMERATE_SHELL_BUILTIN(jobs) \
|
||||
__ENUMERATE_SHELL_BUILTIN(disown) \
|
||||
__ENUMERATE_SHELL_BUILTIN(fg) \
|
||||
__ENUMERATE_SHELL_BUILTIN(bg)
|
||||
__ENUMERATE_SHELL_BUILTIN(bg) \
|
||||
__ENUMERATE_SHELL_BUILTIN(wait)
|
||||
|
||||
#define ENUMERATE_SHELL_OPTIONS() \
|
||||
__ENUMERATE_SHELL_OPTION(inline_exec_keep_empty_segments, false, "Keep empty segments in inline execute $(...)") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue