mirror of
https://github.com/corda/corda.git
synced 2024-12-21 22:07:55 +00:00
Add delay to macos script startup (#1462)
This commit is contained in:
parent
cd0d2f370e
commit
10c4d46b97
@ -101,6 +101,7 @@ private class TerminalWindowJavaCommand(jarName: String, dir: File, debugPort: I
|
||||
OS.MACOS -> {
|
||||
listOf("osascript", "-e", """tell app "Terminal"
|
||||
activate
|
||||
delay 0.5
|
||||
tell app "System Events" to tell process "Terminal" to keystroke "t" using command down
|
||||
delay 0.5
|
||||
do script "bash -c 'cd $dir; ${command.joinToString(" ")} && exit'" in selected tab of the front window
|
||||
|
Loading…
Reference in New Issue
Block a user