Implements Specify stdout and stderr like subprocess.Popen