在macOS上启动gitk导致错误应用程序未运行

时间:2018-11-01 17:36:20

标签: git

加载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。 有关如何解决此问题的任何想法?

1 个答案:

答案 0 :(得分:0)

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

人们报告通过重新启动计算机或杀死“系统事件”来解决此问题。

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