Hi!
I run a program through a TCL/TK script using fileevent etc. This program writes an ASCII file (which contains some info about the job and progress) and I would like to be able to check on what's written the file by opening it and displaying its content while my tk script is running, what is the best way to do this? I have tried fillevent with "cat" of the file but it seems that everything is "flushed" only when the program is finished.
Thanks!
I run a program through a TCL/TK script using fileevent etc. This program writes an ASCII file (which contains some info about the job and progress) and I would like to be able to check on what's written the file by opening it and displaying its content while my tk script is running, what is the best way to do this? I have tried fillevent with "cat" of the file but it seems that everything is "flushed" only when the program is finished.
Thanks!