Re: automatically dismissing the OSX crash dialog?
Re: automatically dismissing the OSX crash dialog?
- Subject: Re: automatically dismissing the OSX crash dialog?
- From: ravi <email@hidden>
- Date: Tue, 24 Apr 2007 15:10:25 -0400
On 24 Apr, 2007, at 2:26 PM, email@hidden wrote:
I'm making a kiosk application that uses an open-source video
player (VLC). I have VLC running under launchd, so if VLC should
crash (as it occasionally does), it will be restarted. However,
the OSX crash dialog ("this application has quit unexpectedly" with
the Report, Cancel and Re-open buttons) still appears -- since this
is a kiosk app, with no mouse / keyboard attached, I want to have
my app dismiss the crash dialog. Can I do this with AppleScript?
If so, how?
Why not turn off crashreporterd altogether? Edit /etc/hostconfig and
change setting to NO. See crashreporterd(1).
====================
http://developer.apple.com/documentation/Darwin/Reference/ManPages/
man8/crashreporterd.8.html
crashreporterd is the daemon responsible for detecting application
crashes. crashreporterd listens for mach exceptions and when
it detects
a mach exception launches crashdump to investigate the crash
and report
it to the user.
crashreporterd is also responsible for writing panic
information to
/Library/Logs/panic.log when the system is rebooted after a panic.
crashreporterd should only be started at boot time by the
CrashReporter
startup item - killing or restarting crashreporterd at any
other time
will lead to upredictable behavior when an application
crashes. Adminis-Administrators
trators can edit the CRASHREPORTER entry in /etc/hostconfig to
prevent
crashreporterd from starting at boot time.
====================
--ravi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden