Re: Using AS to logout
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