how to force quit finder on mac code example Example: mac quit finder defaults write com.apple.finder QuitMenuItem -bool true