我有一个程序,它可以在Linux上完美运行,但是 - 这是一个奇迹 - 而不是Windows。 我已经修复的bug一个用SYS,并获得一个新问题:Python + Windows:子进程和bufsize
"TypeError: bufsize must be an integer"
我敢肯定这是一件很容易的,我忘了试戴任何提示?谢谢!
import subprocess
import sys
process = subprocess.Popen(sys.executable, [player["progname"]],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
universal_newlines=True)
可能的复制[刷新消息时,bufsize必须是整数错误](https://stackoverflow.com/questions/17824096/bufsize-must-be-an-integer-error-while-grepping-a-message) –