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

发布于 2024-08-13 23:26:40 字数 530 浏览 7 评论 0原文

这是给你的。强制退出 Finder 并重新启动失败后,终端中会返回“killall Finder”:

"No matching processes belonging to you were found"

奇怪的是,Finder 的 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 个空间,每个空间都有一些应用程序,重新加载它们非常痛苦。)

Here's one for ya. Upon a forced quit of the Finder with unsuccessful relaunch, "killall Finder" in terminal returns:

"No matching processes belonging to you were found"

Oddly enough, the PID for finder does actually show up after a "ps -A" to reveal all processes. But the time is perpetually listed as 0:00:00, upon repeated PID listings.

I tried the following to manually launch it:

open /System/Library/CoreServices/Finder.app

But it puked:

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

Any other ideas on a Finder relaunch that don't involve rebooting? (I usually have 6 spaces open at once, each with a handful of apps and it's a pain reloading them all.)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

场罚期间 2024-08-20 23:26:40

尝试重新启动 Xcode 后我也遇到了类似的问题。我也遇到了同样的失败,错误为-600

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

# softly kill Xcode
killall -SIGINT Xcode
sleep 0.3 

# open Xcode
open /Developer/Applications/Xcode.app

I have had similar problem after trying to relaunch Xcode. I got the same failed with error -600.

The problem dissappeared after I inserted sleep in 300 mseconds (sleep 0.3).
I created a bash script which did the following:

# softly kill Xcode
killall -SIGINT Xcode
sleep 0.3 

# open Xcode
open /Developer/Applications/Xcode.app
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文