* prunes the child pid to avoid zombies * handles the errors so e.g. file-not-found is reported properly