what is the best way to capture output from a process using python?,"process = subprocess.Popen(['python', '-h'], bufsize=1)"