• 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: How doess Cocoa handle SIGINT?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How doess Cocoa handle SIGINT? (From: Thierry Faucounau <email@hidden>)

  • Prev by Date: int -> NSString
  • Next by Date: Re: NSImage - Converting image formats
  • Previous by thread: Re: How doess Cocoa handle SIGINT?
  • Next by thread: Re: How doess Cocoa handle SIGINT?
  • Index(es):
    • Date
    • Thread