2019-12-29 使用—编程模式—多进程 Python-PIPE 12345from subprocess import Popen, PIPEif __name__ == '__main__': p = Popen('cmd.exe', shell=True, stdin=PIPE, stdout=PIPE) print(p.stdout.readline()) Newer 信息熵 Older 每日leetcode-488