Fix process spawn to stdout correctly.