There are similar questions to this one, but I'd like to see a clarified answer. I'm building a simple GUI with PythonCard to wrap a command line process. Specifically, it's a wrapper for a series of ANT Tasks and other custom operations so non-devs can use it.
I'd like to redirect the output of the subprocess to a TextArea in the window. It looks like the way to do this is to use subprocess.Popen(command, stdout=subprocess.PIPE)
and load the output to a variable.
The question is how do I live update the window with the output of the subprocess? Any hints would be welcome
Thanks