Thursday, 3 October 2013

twisted reactor.spawnProcess get stdout w/o bufffering on windows

twisted reactor.spawnProcess get stdout w/o bufffering on windows

I'm running an external process and I need to get the stdout immediately
so I can push it to a textview, on GNU/Linux I can use "usePTY=True" to
get the stdout by line, unfortunately usePTY is not available on windows.
I'm fairly new to twisted, is there a way to achieve the same result on
Windows with some twisted (or python maybe) magic stuff?

No comments:

Post a Comment