Re: tell xxx to force quit
Re: tell xxx to force quit
- Subject: Re: tell xxx to force quit
- From: email@hidden
- Date: Fri, 6 Jul 2001 10:53:11 -0400
On Fri, 06 Jul 2001 12:11:52 +0100, Simon Forster <email@hidden> asked,
>
Is there any way to force quit an application? I have a remote server which
>
suffers from a bug in the DNS server software which'll cause the server to
>
hang when quitting this software. On a remote server, this is not clever. So
>
can I just force quit the app (I'm aware that this is probably NOT a good
>
thing to do and I'll probably end up paying for an upgrade which _should_
>
fix this problem. But I'd like to know my options).
I wrote a scripting addition called "Finger of Death" that does this. It uses
an undocumented system call that I got from some code by Jonathan "Wolf"
Rentzsch. Its available at
http://www.purespeed.com/personal/snorton/
As you observe, force-quitting is a bad thing. You want to try a regular "quit"
Apple Event first. "Quit" works even for many non-scriptable apps.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden