Re: Session log-out on Snow Leopard
Re: Session log-out on Snow Leopard
- Subject: Re: Session log-out on Snow Leopard
- From: "Stephen J. Butler" <email@hidden>
- Date: Thu, 8 Oct 2009 00:31:39 -0500
On Tue, Oct 6, 2009 at 7:02 AM, Etienne Henri <email@hidden> wrote:
> Since Mac OS X 10.0, killing the loginwindow process had been the way to
> terminate a session. As far as I know, all other methods allow the user to
> cancel (or at least postpone) the log-out which is unacceptable in my case.
> Does anyone know a way to terminate a session that would work with OS X
> 10.6? This is not a Cocoa issue per se, but maybe the 10.6 Framework has a
> new "terminateSession" method I overlooked :)
The preferred way to do this has been, for as long as I remember,
sending SIGTERM or SIGKILL (impolite) to all the user processes and
then kAEReallyLogOut to {0,kSystemProcess}.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden