Wait for a process to complete.

Synopsis

wait [PID...]

Description

Wait for specified background processes to complete. If no PID is given, waits for all background processes. Runs in the just-bash WASM shell inside SLICC.

Examples

$ command & wait

Run a command in the background and wait for it.

See Also

bg, fg, jobs, kill