Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created June 26, 2012 20:38
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jchristopher/2998780 to your computer and use it in GitHub Desktop.
Save jchristopher/2998780 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