Hi,

Thus spoketh pyt...@bdurham.com 
unto us on Tue, 14 Dec 2010 09:53:14 -0500:

> Michael,
> 
> > pipe = subprocess.Popen(args, stdout=subprocess.PIPE,
> > stderr=subprocess.STDOUT, shell=False)
> 
> What happens when you try shell=True?
> 
> Also, is there a way to run ssh unbuffered?
> 
> What happens when you exit root.mainloop()? Can you try a root.after(
> 1000, root.quit ) to see if your example works after Tk exits?

Sure, without Tk it works, the odd thing is that it does not work when Tk
is active, in fact I don't even need to call mainloop() to make it fail,
a simple root=Tk() is sufficient. I also tried a number of different ways
of invoking subprocess.Popen() but nothing helps. I guess that it's
probably a problem with the setup of the ssh client rather than actually
a Tk bug, but when I asked google, I couldn't find any hints.

Regards

Michael

.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Another Armenia, Belgium ... the weak innocents who always seem to be
located on a natural invasion route.
                -- Kirk, "Errand of Mercy", stardate 3198.4
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to