diff --git a/qb64_start_osx.command b/qb64_start_osx.command index 816201be3..b8d5d6476 100755 --- a/qb64_start_osx.command +++ b/qb64_start_osx.command @@ -1,2 +1,5 @@ cd "$(dirname "$0")" -./qb64 +./qb64 & +osascript -e 'tell application "Terminal" to close (every window whose name contains "qb64_start_osx.command")' & +osascript -e 'if (count the windows of application "Terminal") is 0 then tell application "Terminal" to quit' & +exit \ No newline at end of file