On Tue, Oct 6, 2009 at 7:02 AM, Etienne Henri <[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to