Reading a file as it fills up by another program
Reading a file as it fills up by another program
- Subject: Reading a file as it fills up by another program
- From: email@hidden
- Date: Sun, 7 Dec 2003 00:07:13 +0100
I want to read a file, record by record, as the file is being filled
up by another process. The writing process is a "regular" unix
process.
After an 'open for access', EOF will retain its value of 0 until the
file is closed, so it won't read the file as it fills up. If I would
repeatedly close the file to reopen it, it would "forget" the
position of the last record. Besides, I would prefer not to have
'delay 1' in some read loop, since 1 second is too much (and I don't
want to restrict everything to Panther which can do shorter delays).
Enter solution here: ...........
--heb
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.