Answers:
您可以通过按⌘+ ⌥+ esc或使用Apple菜单(屏幕的左上角)并选择来访问“强制退出”对话框Force Quit...
。选择有问题的应用程序,然后单击“强制退出”按钮。
您还可以使用命令行(/ Applications / Utilities / Terminal)终止应用程序:
killall 'Google Chrome'
您还可以使用“活动监视器”应用程序(/ Applications / Utilities)。选择一个应用程序,然后单击退出按钮:
然后,从向下滑动的对话框中,单击
Force Quit
。
另一种方法是Terminal
:
ps auxww | grep -i 'google chrome' | grep -v grep | awk '{ print $2 }' | xargs kill
或强行杀死:
ps auxww | grep -i 'google chrome' | grep -v grep | awk '{ print $2 }' | xargs kill -9
如果屏幕没有响应,或者您获得了Spinning Death of Death,但能够以某种方式到达终端(例如:通过SSH),这可能会有所帮助
通过命令行方式,将以下内容粘贴到您的终端中(例如Chrome):
while read -r p; do
kill -9 $p
done < <(ps -x | grep "Google Chrome.app" | perl -pi -e 's/^\s*(\d+)\s+.*/$1/g;print')