       1mwait 22m?1m-nohang22m? ?1m-untraced22m? ?1m-pgroup22m? ?4mpid24m?
              Waits for a process created with the 1mexecl 22mcommand to terminate,
              either due to an untrapped signal or call to 4mexit24m  system  call.
              If  the  process id 4mpid24m is specified, they wait on that process,
              otherwise wait on any child process to terminate.

              If 1m-nohang 22mis specified, then don't block waiting on  a  process
              to terminate.  If no process is immediately available, return an
              empty list.  If 1m-untraced 22mis specified then the status of  child
              processes  that  are  stopped, and whose status has not yet been
              reported since they stopped, are also returned.  If  1m-pgroup  22mis
              specified  and 4mpid24m is not specified, then wait on any child pro-
              cess whose process group ID is they same as the calling process.
              If  4mpid24m  is specified with 1m-pgroup22m, then it is take as a process
              group ID, waiting on any process in that process group to termi-
              nate.

              1mWait 22mreturns a list containing three elements: The first element
              is the process id of the process that terminated.  If  the  pro-
              cess  exited  normally,  the  second  element is `EXIT', and the
              third contains the numeric exit code.  If the process terminated
              due to a signal, the second element is `SIG', and the third con-
              tains the signal name.  If the process is currently stopped  (on
              systems that support SIGSTP), the second element is `STOP', fol-
              lowed by the signal name.

              Note that it is possible to wait on processes to terminate  that
              were  create  in the background with the 1mexec 22mcommand.  However,
              if any other 1mexec 22mcommand is executed after the  process  termi-
              nates,  then  the process status will be reaped by the 1mexec 22mcom-
              mand and will not be available to the 1mwait 22mcommand.

              On  systems  without  the  1mwaitpid  22msystem  call,  the  1m-nohang22m,
              1m-untraced  22mand  1m-pgroup  22moptions  are  not available.  The 1minfox0m
              1mhave_waitpid 22mcommand maybe use to determine if this  functional-
              ity is available.
