gpt4 book ai didi

git - 在 macOS 上启动 gitk 会出现错误应用程序未运行

转载 作者:行者123 更新时间:2023-12-04 06:42:08 25 4
gpt4 key购买 nike

当我加载 gitk 时出现错误 ->

Error in startup script: 58:102: execution error: System Events got an error: Application isn’t running. (-600)
while executing
"exec osascript -e [format {
tell application "System Events"
set frontmost of processes whose unix id is %d to true
end te..."
invoked from within
"if {[tk windowingsystem] eq "aqua"} {
exec osascript -e [format {
tell application "System Events"
set frontmost of processes ..."
(file "/usr/local/bin/gitk" line 12212)

我的 git 版本是 2.17.1,我的 mac os 版本是 10.13.6。
有想法该怎么解决这个吗?

最佳答案

在较旧的问题中有关于此的相关信息:Applescript fails with error (-600) when launched over ssh on Mavericks

人们报告说通过重新启动机器或杀死“系统事件”来解决这个问题。

$ kill -9 $(pgrep "System Events")

关于git - 在 macOS 上启动 gitk 会出现错误应用程序未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53106486/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com