Re: Problem with NSFileHandle?
Re: Problem with NSFileHandle?
- Subject: Re: Problem with NSFileHandle?
- From: "Louis C. Sacha" <email@hidden>
- Date: Thu, 24 Jun 2004 14:59:09 -0700
Hello...
The documentation for NSFileHandleReadCompletionNotification
notification seems to indicate that the keys are the strings
@"NSFileHandleNotificationDataItem" and @"NSFileHandleError" and not
constants by those names.
Hope that helps,
Louis
I'm having a rather odd problem with NSFileHandle. I'm using NSTask
to run a Unix process and I'm piping stdout and stderr to a pipe
asynchronously in the background so that a
NSFileHandleReadCompletionNotification gets posted.
Recall that -readInBackgroundAndNotify triggers a
NSFileHandleReadCompletionNotification notification. This
notification, according to the documentation, contains a userInfo
dictionary with keys NSFileHandleNotificationDataItem and
NSFileHandleError. The problem I'm having is that the first key
seems to exist, whereas the second doesn't. The compiler spits back
a message to that effect.
Has anybody experienced the same problem?
Glenn Zelniker
_______________________________________________
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.