Something went wrong while setting issue due date.
applescript for window exists not working.
This applescript should end when the window exits, but it keeps going:
tell application "iTerm"
activate
set myWin to (create window with default profile command "zsh -f")
tell myWin
tell current session
write text "echo hi"
delay 1
write text "exit"
end tell
repeat while (exists myWin)
delay 0.1
end repeat
end tell
end tell
Required information for bugs. I probably can't help you unless you include this:
- iTerm2 version - 2.9.20151111
- OS version - 10.11.2
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here
- Attach a debug log (https://iterm2.com/debuglog)debuglog.txt