Waits for the child process to exit and returns its status.
Declared in <util/subprocess.h>
<util/subprocess.h>
int wait() noexcept(false);
The child's exit status code.