From 155188fe1a96b8d78928a4251ef2cf96796fea0f Mon Sep 17 00:00:00 2001 From: "J.P" <70083705+stapmoshun@users.noreply.github.com> Date: Thu, 26 Oct 2023 06:26:39 -0400 Subject: [PATCH] brew --- cloudmesh/common/Shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudmesh/common/Shell.py b/cloudmesh/common/Shell.py index 5ae2c8c4..0a4714ae 100755 --- a/cloudmesh/common/Shell.py +++ b/cloudmesh/common/Shell.py @@ -581,7 +581,7 @@ def install_brew(): # command = 'NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"' - command = 'osascript -e \'tell application "Terminal" to do script "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\'' + command = 'osascript -e \'tell application "Terminal" to do script "/bin/bash -c \\"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\\""\'' try: subprocess.run(command, shell=True, check=True)