Garbage Collection, Standard Out, NSTask
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