Re: Reading a file as it fills up by another program
Re: Reading a file as it fills up by another program
- Subject: Re: Reading a file as it fills up by another program
- From: Christopher Stone <email@hidden>
- Date: Fri, 12 Dec 2003 06:07:05 -0600
At 16:47 +0100 12/11/2003, Harald E Brandt wrought:
How to read a file, record by record, as the file is being filled up by
another process?
...
If using '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. Is it possible
at all to use the standard 'read' to do that?
______________________________________________________________________
Hello Harald,
Hmm. There is never any need to open a file if you just want to read it.
Does your Unix process keep the file open? Or does it close it after it
writes to it?
If the latter perhaps you can use the "busy status" of the "info for"
event from the Standard Additions osax.
Chris
_______________________________________________
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.