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: Walter Ian Kaye <email@hidden>
- Date: Fri, 12 Dec 2003 10:54:24 -0800
At 06:02p +0100 12/12/2003, Harald E Brandt didst inscribe upon an
electronic papyrus:
+--> Walter Ian Kaye wrote 03-12-12:
Do you know if the piping occurs in real time? If so, you could
pipe to AppleScript...
+-
Hmm... Now I do not quite follow you... The Unix process(es) are of
course started from a 'do shell script'. I want things back, but
"piece by piece" since I do not want to wait for the process(es) to
terminate after many seconds; that calls for a loop in AppleScript
that will check progress status. Of course it would be nice to check
the input of some kind of "pipe" back into AppleScript, but that is
so far just a dream, as far as I know...(?)
Well, let's see...
At 04:47p +0100 12/11/2003, Harald E Brandt didst inscribe:
The process that is writing to the file is a "regular" unix
background process whose stdout and stderr is redirected to the file
- no special locking procedures.
...so the trick would be to somehow intercept that redirection.
_______________________________________________
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.