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

397af8b5b8bf6d08f26292207ce2aaffc095772b · 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