users/ryan/modules/simple-bar/simple-bar-source/lib/scripts/run-command-in-terminal.applescript

d06784958d73159b5e4abafe5114804662114ed7 · 151 B · 7 lines raw

1 on run argv
2 set commandToRun to item 1 of argv
3 tell application "Terminal"
4 do script commandToRun
5 activate
6 end tell
7 end run