gitk가 tmux 내부에서 작동하지 않습니다

gitk가 tmux 내부에서 작동하지 않습니다

gitk세션 내에서 사용할 때 실행되지 않는 이상한 문제가 있습니다 tmux. gitk에서 실행하면 tmux다음을 얻습니다.

Error in startup script: 58:102: execution error: An error of type -10810 has occurred. (-10810)
    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 12019)

그러나 이것을 일반 터미널(no)에서 실행하면 tmux완벽하게 작동합니다.

저는 두 가지를 모두 설치했고 tmux, gitBrew를 사용하고 있으며 Mac OSX 10.10.1에서 실행 중입니다. tmux -v2.0을 표시하고 git --version2.5.0을 표시합니다.

왜 이런 일이 발생하는지 아시나요?

답변1

사용자 네임스페이스에 다시 연결을 설치/업데이트해야 합니다.

Brew를 사용하는 경우 다음 명령을 사용하여 이를 수행할 수 있습니다.

brew upgrade reattach-to-user-namespace

이것은 osascript와 관련이 있습니다

관련 정보