小编gia*_*nmt的帖子

twisted reactor.spawnProcess得到stdout w/o在窗口上缓冲

我正在运行一个外部进程,我需要立即获取stdout所以我可以将其推送到textview,在GNU/Linux上我可以使用"usePTY = True"来逐行获取stdout,遗憾的是,在Windows上没有usePTY .

我是相当新的扭曲,有没有办法在Windows上实现相同的结果与一些扭曲(或python可能)神奇的东西?

python twisted

2
推荐指数
1
解决办法
951
查看次数

标签 统计

python ×1

twisted ×1