I managed to successfully silence the CrashReport dialog, but when my application crashes and I restart it, I get the annoying dialog as from Title. Is there a way to prevent it to appear, and just let the application run without interruption?
Use the setting in General preferences To prevent apps from remembering the windows they had open, choose Apple menu > System Preferences, click General, then select ”Close windows when quitting an app.”
Choose Apple menu > Force Quit, select the app in the dialog that appears, then click Force Quit. If the app quit, reopen it by clicking Reopen in the dialog that appears. Restart your Mac by choosing Apple menu > Restart. Make sure the app is compatible with your version of macOS.
To do so, press and hold on the Tabs icon and select Close All Tabs option in the contextual menu. On the confirmation pop up, select Close All Tabs option to confirm and this will prevent Safari from opening your previous browsing session.
There's an option to reopen Windows when logging back in, which is on by default. With this option turned on, if you shut down or restart, when you sign back into your account, any applications or windows that you had open when you shut down will open up again.
Try this to get rid of the reopening windows:
defaults write -app "Application Name" NSQuitAlwaysKeepsWindows -bool false
You may also disable it for every application by selecting this option in the preferences: "Close windows when quitting an application"
And for others reading this thread, to remove the CrashReport do this:
defaults write com.apple.CrashReporter DialogType none
Also note that in the source of this information they say:
For this to work one needs to check the box, open the program in question and immediately close it. On the next re-opening it will work without Resume.
You may also have to delete:
/Users/…/Library/Saved\ Application\ State/org.python.python.savedState/
Voila! I've just solved this problem by deleting all Unity-related files inside ~Library/Caches folder on my Mac!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With