10.5: Automatically restart a crashed program
This older hint described a method by which to auto-restart a crashed application automatically by monitoring the crash log for the app. that was done by watching the log file with a LaunchAgent.
As WCityMike notes in this forum thread, Leopard writes multiple crash logs with a duration and time-stamp in the filename for each crash, rather than appending
~/Library/Logs/CrashReporter/gimp-2.2_2007-12-10-100248_G4.crash
~/Library/Logs/CrashReporter/gimp-2.2_2007-12-10-091933_G4.crash
etc...
So watching a separate file will not work in Leopard. Read on for my solution.
I wanted to keep true to the original tip and use Lingon to create the LaunchAgent (launchd) plist file, and …
Original post by Michael Rose
Related Articles
Microsoft Defends China Anti-Piracy Move Engineer Was Texting Seconds Before Train Wreck Kodak launches self-burning discs Microsoft Says Live Search Cashback Met Goals Backing Up Isn’t Hard to Do with PC Backup ‘Sniff’ Out Acquaintances, Wherever They Are Placing Program Icons into the Finder bar v1.1.3 Firmware brings back Bricked iPhones OLPC’s Give One, Get One program to be rekindled Nov. 17 Microsoft Releases Emergency shield Patch
No comments yet. Be the first.
Leave a reply
















