I'm attempting to map output of a 'system' call
directly in to an FXText window.
f = IO.popen('cmd /C foo.exe')
myTextBox.appendText(f.read)
is one way, but it waits until the app is done before
updating the window.
I've been looking for ways to change $stdout or
something so that whatever the seperate app generates,
it actually just goes straight to the window.
textBoxStream = IO.new($stdout.fileno,"w")
def textBoxStream.putc(char)
myTextBox.appendText(char)
end
Something like that?
Gah.