Use a pipe to report errors from exec in the child process