• 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
Garbage Collection, Standard Out, NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Garbage Collection, Standard Out, NSTask


  • Subject: Garbage Collection, Standard Out, NSTask
  • From: Jon Gilkison <email@hidden>
  • Date: Tue, 16 Nov 2010 12:17:42 -0500

Below is a simple test application that launches a process and logs the output as it runs.

It works as expected when the app is set to no garbage collection, but as soon as I turn on garbage collection, the following notifications stop working:

- NSTaskDidTerminateNotification
- NSFileHandleReadCompletionNotification

It's been stumping me for a few days.

The sample app and source is at:

http://sessionsplus.com/TaskTester.zip

Thanks!

Jon._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Garbage Collection, Standard Out, NSTask
      • From: Quincey Morris <email@hidden>
    • Re: Garbage Collection, Standard Out, NSTask
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: [iPhone] Toolbar button and "Touch Down"
  • Next by Date: Re: Get current caret position
  • Previous by thread: Re: Get current caret position
  • Next by thread: Re: Garbage Collection, Standard Out, NSTask
  • Index(es):
    • Date
    • Thread