• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading a file as it fills up by another program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Reading a file as it fills up by another program (From: Harald E Brandt <email@hidden>)
 >Re: Reading a file as it fills up by another program (From: Christopher Stone <email@hidden>)
 >Re: Reading a file as it fills up by another program (From: Harald E Brandt <email@hidden>)
 >Re: Reading a file as it fills up by another program (From: Walter Ian Kaye <email@hidden>)
 >Re: Reading a file as it fills up by another program (From: Harald E Brandt <email@hidden>)

  • Prev by Date: Error message when opening Quark file using applescript
  • Next by Date: Re: Insert text into a document (beginners Question)
  • Previous by thread: Re: Reading a file as it fills up by another program
  • Next by thread: Re: Reading a file as it fills up by another program
  • Index(es):
    • Date
    • Thread