Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Check text when a file is updated

Status
Not open for further replies.

fabien

Technical User
Sep 25, 2001
299
AU
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!
 
Thanks Ulis! this is exactly what I was looking for!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top