From 25252a20563ac53541534b806cd9b42bd50611af Mon Sep 17 00:00:00 2001 From: "J.P" <70083705+stapmoshun@users.noreply.github.com> Date: Thu, 26 Oct 2023 07:05:12 -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 1e06ad60..0d1b47eb 100755 --- a/cloudmesh/common/Shell.py +++ b/cloudmesh/common/Shell.py @@ -593,7 +593,7 @@ def install_brew(): print('test') # command = 'NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"' - command = f'osascript -e \'tell application "Terminal" to do script "/bin/bash -c \\"export SUDO_ASKPASS={askpass} ; $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\\""\'' + command = f'osascript -e \'tell application "Terminal" to do script "/bin/bash -c \\"export SUDO_ASKPASS={askpass} ; export NONINTERACTIVE=1 ; $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\\""\'' print(command) try: subprocess.run(command, shell=True, check=True)