Re: one NSPipe, multiple NSTasks?
Re: one NSPipe, multiple NSTasks?
- Subject: Re: one NSPipe, multiple NSTasks?
- From: Marcel Weiher <email@hidden>
- Date: Mon, 24 Mar 2003 10:57:53 +0100
On Monday, March 24, 2003, at 05:41 Uhr, beamsplitter wrote:
I'd like to use one NSPipe instance for multiple successive NSTasks.
Why?
I've tried this but can't get it to work:
[snip]
The second pair of setStandard methods cause an exception: "Exception
raised during posting of notification. Ignored. exception: ***
-[NSConcreteFileHandle fileDescriptor]: Bad file descriptor"
Can anyone point out my mistake?
Yes: wanting to reuse a pipe for successive tasks. The sub-task will
close the pipe and then it is gone (that is why the file-descriptor is
"bad").
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
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.