manually pipe stdout to the parent process