
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)
ただし、これを通常のターミナル (なしtmux
) で実行すると、期待どおりに完璧に動作します。
両方をインストールしtmux
、git
brew を使用して Mac OSX 10.10.1 で実行しています。2.0tmux -v
とgit --version
2.5.0 が表示されます。
なぜこのようなことが起こるのか、何か考えはありますか?
答え1
reattach-to-user-namespace をインストール/更新する必要があります
brew を使用している場合は、次のコマンドを使用して実行できます。
brew upgrade reattach-to-user-namespace