The pwait utility will wait until each of the given processes has terminated.

WWW: https://github.com/freebsd/freebsd-src/tree/main/bin/pwait
