• 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: Capturing SIGPIPE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Capturing SIGPIPE


  • Subject: Re: Capturing SIGPIPE
  • From: j o a r <email@hidden>
  • Date: Mon, 24 Jan 2005 08:58:58 +0100

Have you checked the discussions on signal handlers in the list archives?

j o a r

On 2005-01-24, at 08.51, Peter wrote:

I have written a Cocoa program to communicate with the child process via pipe. Sometime the child process quits or gets terminated in the unexpected ways, on the console or debugger will show message SIGPIPE error and my Cocoa program just quit without warning. I trace my program lines to a write() statement which I suppose the handle have close since the child process quits.

How do I capture SIGPIPE and also without quitting the Cocoa app ?

I suppose it would be a good idea if the Cocoa app captures this signal, displays an Alert box and continue to do what it has been doing before.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Capturing SIGPIPE (From: Peter <email@hidden>)

  • Prev by Date: Capturing SIGPIPE
  • Next by Date: Re: NSOutlineView: expanding an item retains it?
  • Previous by thread: Capturing SIGPIPE
  • Next by thread: Networking
  • Index(es):
    • Date
    • Thread