Re: How doess Cocoa handle SIGINT?
Re: How doess Cocoa handle SIGINT?
- Subject: Re: How doess Cocoa handle SIGINT?
- From: Eric Peyton <email@hidden>
- Date: Mon, 25 Jun 2001 22:19:21 -0500
On Monday, June 25, 2001, at 07:05 PM, Thierry Faucounau wrote:
I have some questions relating to the handling of SIGINT from a
Cocoa app.
Does the Cocoa runloop handle signals for you? Or is it OK (in
fact required) to put in my own signal handler?
You can do it (and I do in some of my apps), but I have no idea if
it's "OK" to do so.
Does hitting Control-C on the keyboard send a SIGINT to the
frontmost Cocoa app?
Not at all. To send a signal to an application you will need to
a) Use the process Panel to send a terminate b) use the terminal
and kill, etc. to send your favorite signal to the pid c) use
process viewer to send a terminate or d) write your own app to send
signals to running apps.
Eric
Eric
Thanks.
--
Thierry Faucounau
Research Systems, Inc.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev