Problem with NSFileHandle?
Problem with NSFileHandle?
- Subject: Problem with NSFileHandle?
- From: Glenn Zelniker <email@hidden>
- Date: Thu, 24 Jun 2004 16:00:09 -0400
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.