Tip for Mac Users - Automatically relaunch a crashed application

Permabanned
Joined
7 Nov 2002
Posts
1,656
Location
Over there
When an application crashes in MacOSX, it automatically creates a Crash Reporter file (~/Library/Logs/CrashReporter). You can use this file to automatically relaunch applications.

The applications I am talking about are ones that crash silently. A lot of apps will give you a dialogue saying its crashed. But the applications that run in the background (for example, Quicksilver and VirtueDesktop) don't. They simply just crash. And then the next time you come to use it, you have to relaunch it.

So in order to make these apps relaunch automatically - go to http://lingon.sourceforge.net/ and download the app Lingon.

Hit the assistant button and select "Run an application/script when a file is modified". Give the entry a label (e.g. Relaunch Quicksilver if crashed). Leave "Launch only when I log in" ticked. Hit the next button.

Next, select the Application you want to relaunch. When selecting your application, you have to select the executable file within the .app folder of said program. These are usually located in (example) Quicksilver.app/Contents/MacOS. Then, select the file that you want to monitor in the next box. Using the file path stated above (~/Library/Logs/CrashReporter) select the appropriate crash report. If one is not present, its because the application in question has not yet crashed on your system. You will have to wait for it to crash for the first time to generate the crash report file.

When you hit the create button, thats it. You can close Lingon and next time your apps silently crash, they should relaunch automatically!
 
hmm - sounds like the dr watson that keeps popping its ugly head on windows systems and I never managed since win 3.1 - not that I tried that hard, to get it working. I give it a bash. Thanks for the info
 
Back
Top Bottom