
Ich habe ein seltsames Problem, bei dem gitk
es nicht ausgeführt wird, wenn ich es innerhalb einer tmux
Sitzung verwende. Wenn ich es gitk
von aus ausführe tmux
, erhalte ich:
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)
Wenn ich dies jedoch in einem normalen Terminal ausführe (kein tmux
), funktioniert es einwandfrei wie es sollte.
Ich habe beides installiert tmux
und git
verwende Brew. Ich verwende Mac OSX 10.10.1. tmux -v
Zeigt 2.0 und git --version
2.5.0 an.
Irgendeine Idee, warum das passiert?
Antwort1
Sie müssen reattach-to-user-namespace installieren/aktualisieren
Wenn Sie Brew verwenden, können Sie dies mit dem folgenden Befehl tun.
brew upgrade reattach-to-user-namespace