Skip to content

Commit

Permalink
brew
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfleischer committed Oct 26, 2023
1 parent ca4b303 commit 25252a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudmesh/common/Shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 25252a2

Please sign in to comment.