• 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 07:16:34 -0800

At 03:04p +0100 12/12/2003, Harald E Brandt didst inscribe upon an electronic papyrus:

+--> Christopher Stone wrote 03-12-12:
At 16:47 +0100 12/11/2003, Harald E Brandt wrought:

Does your Unix process keep the file open? Or does it close it after it writes to it?
+-

It keeps the file open - it is a redirect (incl stderr) after a pipe. I just talked to a Unix guru who sais that this is a relatively common problem caused by the fact that Unix usually buffers everything before it is actually written to file. That means I am stuck!

Is it really *impossible* to get those progress reports from curl and similar programs into AppleScript Studio so I can show them in the GUI (without waiting for the whole thing to terminate)?

Do you know if the piping occurs in real time? If so, you could pipe to AppleScript...


-brainstormin' boo
_______________________________________________
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.

  • Follow-Ups:
    • Re: Reading a file as it fills up by another program
      • From: Harald E Brandt <email@hidden>
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>)

  • Prev by Date: RE: Aqua keys
  • Next by Date: RE: Aqua keys
  • 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