subprocess

cooolr 于 2022-04-28 发布
from subprocess import Popen,PIPE

protobuffedResponse = flow.response.content
out,err = Popen(["protoc", "--decode_raw"], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate(protobuffedResponse)