Merge branch 'es/ignore-osascript-failure'
* es/ignore-osascript-failure: gitk: fix MacOS 10.14 "Mojave" crash on launchmain
commit
ead1687a3e
12
gitk
12
gitk
|
|
@ -12462,11 +12462,13 @@ namespace import ::msgcat::mc
|
|||
|
||||
# on OSX bring the current Wish process window to front
|
||||
if {[tk windowingsystem] eq "aqua"} {
|
||||
safe_exec [list osascript -e [format {
|
||||
tell application "System Events"
|
||||
set frontmost of processes whose unix id is %d to true
|
||||
end tell
|
||||
} [pid] ]]
|
||||
catch {
|
||||
safe_exec [list osascript -e [format {
|
||||
tell application "System Events"
|
||||
set frontmost of processes whose unix id is %d to true
|
||||
end tell
|
||||
} [pid] ]]
|
||||
}
|
||||
}
|
||||
|
||||
# Unset GIT_TRACE var if set
|
||||
|
|
|
|||
Loading…
Reference in New Issue