I always recommend the subprocess module for any needs like this.
Read up on it and it should provide everything you need.
On Dec 13, 2007, at 2:41 AM, Caleb Marcus wrote:
> I'm writing something that has to invoke an external program, and
> every time the external program prints something, u
On 12/13/07, Caleb Marcus <[EMAIL PROTECTED]> wrote:
>
> I'm writing something that has to invoke an external program, and every
> time the external program prints something, update a UI. How would I go
> about doing this?
>
Use sys.popen or pexpect module.
With pexpect you can even use single th