ImpactCorey
Programmer
Hi,
I am trying to write a front-end in Tcl/Tk for some ancient Fortran executables. These executables may take up to a few minutes to execute but print out incremental statements to standard out. I want to be able to capture that output in my GUI and print it on the fly (as it is written) in a textbox so the user doesn't think that their machine locked up. Is there anyway that I can do this? I read somewhere to use the "open" command with a pipeline to the executable and then monitor the output using "fileevent" but I couldn't seem to get that to work. My operating system is Windows 2000.
Thanks,
Corey
I am trying to write a front-end in Tcl/Tk for some ancient Fortran executables. These executables may take up to a few minutes to execute but print out incremental statements to standard out. I want to be able to capture that output in my GUI and print it on the fly (as it is written) in a textbox so the user doesn't think that their machine locked up. Is there anyway that I can do this? I read somewhere to use the "open" command with a pipeline to the executable and then monitor the output using "fileevent" but I couldn't seem to get that to work. My operating system is Windows 2000.
Thanks,
Corey