diff --git a/pages/common/wait.md b/pages/common/wait.md new file mode 100644 index 0000000000..49cbd09a93 --- /dev/null +++ b/pages/common/wait.md @@ -0,0 +1,11 @@ +# wait + +> Wait for a process to complete before proceeding. + +- Wait for given process id (pid) to finish and return its exit status: + +`wait {{pid}}` + +- Wait for all processes known to the invoking shell to finish: + +`wait`