• 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
Re: one NSPipe, multiple NSTasks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: one NSPipe, multiple NSTasks?
      • From: beamsplitter <email@hidden>
References: 
 >one NSPipe, multiple NSTasks? (From: beamsplitter <email@hidden>)

  • Prev by Date: Re: Sheet over a sheet ?
  • Next by Date: Does anyone have OpenStep 4.2?
  • Previous by thread: one NSPipe, multiple NSTasks?
  • Next by thread: Re: one NSPipe, multiple NSTasks?
  • Index(es):
    • Date
    • Thread