Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AppleScript: iTerm tail PHP error log
tell application "iTerm"
set t to (make new terminal)
tell t
tell (make new session at the end of sessions)
exec command "tail -f /Applications/MAMP/logs/php_error.log"
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment