Fork and wait. Multiple ways of handling waiting on a child and handling
results in a POSIX compliant way.