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

8d7aa6e03293de5432a33e6ed55f3f4b2a4f095c · 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