• 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: NSTask, NSFileHandle, readInBackgroundAndNotify and avoiding polling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask, NSFileHandle, readInBackgroundAndNotify and avoiding polling


  • Subject: Re: NSTask, NSFileHandle, readInBackgroundAndNotify and avoiding polling
  • From: Jim Correia <email@hidden>
  • Date: Thu, 11 Jul 2002 09:09:43 -0400

On Thursday, July 11, 2002, at 08:44 AM, Andreas Mayer wrote:

Am Donnerstag den, 11. Juli 2002, um 06:24, schrieb Jim Correia:

then a notification with 0 length data when the script closes stdout,

Is this the expected behavior?

Yes. As stated in an Apple example:

// If the length of the data is zero, then the task is basically over - there is nothing
// more to get from the handle so we may as well shut down.

I grabbed the sample and see that. I didn't find that nugget in the docs last night.

Thanks,
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSTask, NSFileHandle, readInBackgroundAndNotify and avoiding polling (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: NSTask, NSFileHandle, readInBackgroundAndNotify and avoiding polling
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: NSTask, NSFileHandle, readInBackgroundAndNotify and avoiding polling
  • Next by thread: Re: NSTask, NSFileHandle, readInBackgroundAndNotify and avoiding polling
  • Index(es):
    • Date
    • Thread