Add POSIX::waitpid and check EINTR usage

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>