Re: Capturing SIGPIPE
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