Has anyone out there seen an example of having a block of code execute when a file is deleted or renamed?
Basically I need to do this:
if ( -f "file_complete" )
{ print "The process is done! Press B to
continue\n" }
The problem is the way TK works, you have this "MainLoop" line and there it sits while the program runs, never checking this line.
I believe it has to be some kind of 'bind event' but can't find anything further on it in any of the books...................
Basically I need to do this:
if ( -f "file_complete" )
{ print "The process is done! Press B to
continue\n" }
The problem is the way TK works, you have this "MainLoop" line and there it sits while the program runs, never checking this line.
I believe it has to be some kind of 'bind event' but can't find anything further on it in any of the books...................