From 27536e55fefde3d80a9f1a3213ba1c66515dfb01 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Mon, 3 Jul 2017 12:03:01 +0300 Subject: [PATCH] add possibility to run ./run-osx.sh without iterm --- run-osx.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/run-osx.sh b/run-osx.sh index 4c76583232..c966b527ca 100755 --- a/run-osx.sh +++ b/run-osx.sh @@ -16,6 +16,8 @@ function tab () { cmd="; $args" fi + iterm_exists=`osascript -e "id of application \"iterm2\""` + if [ ! -z iterm_exists ]; then osascript &>/dev/null </dev/null <