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

9cb45d050939b499e8e01ec9e4fe9be998d98dc4 · 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