Skip to content

Instantly share code, notes, and snippets.

@mattbanks
Forked from jchristopher/gist:2998780
Created June 27, 2012 15:39
Show Gist options
  • Save mattbanks/3004901 to your computer and use it in GitHub Desktop.
Save mattbanks/3004901 to your computer and use it in GitHub Desktop.
AppleScript: iTerm tail PHP error log
tell application "iTerm"
activate
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