Redirect stdout to parent's pipe