mirror of
https://github.com/corda/corda.git
synced 2024-12-21 22:07:55 +00:00
Minor: add a small delay to the AppleScript that opens new terminal tabs to hack around the fact that AppleScript is racy when used this way :(
This commit is contained in:
parent
6240ba48e1
commit
1a9cbf91c3
@ -14,6 +14,7 @@ if which osascript >/dev/null; then
|
||||
if [ -d $dir ]; then
|
||||
script="$script
|
||||
tell application \"System Events\" to tell process \"Terminal\" to keystroke \"t\" using command down
|
||||
delay 0.5
|
||||
do script \"cd $rootdir/$dir; java -jar JAR_NAME; exit\" in window 1"
|
||||
first=false
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user