aboutsummaryrefslogtreecommitdiffstats
path: root/bin/runInTerminal.command
diff options
context:
space:
mode:
Diffstat (limited to 'bin/runInTerminal.command')
-rwxr-xr-xbin/runInTerminal.command7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/runInTerminal.command b/bin/runInTerminal.command
new file mode 100755
index 0000000000..89195e3d10
--- /dev/null
+++ b/bin/runInTerminal.command
@@ -0,0 +1,7 @@
+#!/bin/bash
+osascript >/dev/null 2>&1 <<EOF
+ tell application "Terminal"
+ activate
+ do script with command "$@; exit"
+ end tell
+EOF