• 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: Using AS to logout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using AS to logout


  • Subject: Re: Using AS to logout
  • From: "Mark J. Reed" <email@hidden>
  • Date: Tue, 3 May 2005 22:13:01 -0400



On 5/3/05, Christopher Nebel <email@hidden> wrote:
You know, I really wish people would stop recommending this sort of
thing.  This is what we call the "nuclear option" -- it will
immediately terminate all user processes, giving them no chance to do
any sort of cleanup.

It wasn't exactly a recommendation.  I explicitly said "I'm sure there's a better way".  I was just offering *a* way to achieve the desired results, even if it's not optimal.   Is that so bad? 

Anyway, sending a SIGTERM to loginwindow shouldn't cause everything to just die instantly.  That would be true if you sent it a SIGKILL, but SIGTERM can be caught and handled cleanly, and arguably should be by loginwindow if it's not.  Or perhaps SIGHUP, which is the traditional logout signal, though that tradition is not terribly relevant in a GUI world.


--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Using AS to logout (From: "Francois Houle" <email@hidden>)
 >Re: Using AS to logout (From: "Mark J. Reed" <email@hidden>)
 >Re: Using AS to logout (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Tiger: "path to me" now returns script path!
  • Next by Date: Re: Tiger: "path to me" now returns script path!
  • Previous by thread: Re: Using AS to logout
  • Next by thread: Re: Using AS to logout
  • Index(es):
    • Date
    • Thread