Re: show in GUI stdout of a command

2005-12-25 Thread Ian Parker
In message <[EMAIL PROTECTED]>, twigster <[EMAIL PROTECTED]> writes >Hi, > >I need to display in real time the output of a command line tool in a >GUI written so far with Tkinter and Pmw. I've got a command line tool >that I want to integrate to a GUI. The parameters are set using the GUI >and

Re: show in GUI stdout of a command

2005-12-19 Thread Noah
Try Pexpect for running your command interactively http://pexpect.sourceforge.net/ For example, if you wanted to run the "top" command you could use a script like below. This updates the output every 5 seconds. You can easily adjust the timeout.

show in GUI stdout of a command

2005-12-19 Thread twigster
Hi, I need to display in real time the output of a command line tool in a GUI written so far with Tkinter and Pmw. I've got a command line tool that I want to integrate to a GUI. The parameters are set using the GUI and a button executes the command. The calc is long so I need to see how fast