强制退出后,“killall Finder”说“没有匹配的流程......”但PID仍然存在?

时间:2009-12-09 06:13:30

标签: kill pid finder relaunch

这是你的一个。在重新启动失败后强行退出Finder,终端中的“killall Finder”返回:

"No matching processes belonging to you were found"

奇怪的是,查找器的PID确实显示在“ps -A”后显示所有进程。但是,在重复的PID列表中,时间永远列为0:00:00。

我尝试了以下手动启动它:

open /System/Library/CoreServices/Finder.app

但它呕吐:

LSOpenFromURLSpec() failed with error -600 for the file /System/Library/CoreServices/Finder.app.

关于Finder重启的任何其他想法都不涉及重启? (我通常一次打开6个空格,每个空格都有一些应用程序,重新加载它们很痛苦。)

1 个答案:

答案 0 :(得分:0)

尝试重新启动Xcode后,我遇到了类似的问题。我得到了相同的failed with error -600

我在300毫秒(睡眠0.3)中插入睡眠后问题消失了。 我创建了一个bash脚本,它执行了以下操作:

# softly kill Xcode
killall -SIGINT Xcode
sleep 0.3 

# open Xcode
open /Developer/Applications/Xcode.app
相关问题