Shell Script keeps prompting for password after updating from Mojave to Catalina
After updating to Catalina my script continues to prompt for a password such as in the case of
do shell script "tmutil startbackup -b" password my_password with administrator privileges
or
do shell script "sudo pmset -c sleep 75" password my_password with administrator privileges
I'm passing a password from the keychain to the variable named "my_password". This worked fine using Mojave but is a challenge with Catalina where I'm prompted to enter a password. I know that variable "my_password" contains the correct password as I can display the text using "display alert my_password".
Your suggestions are appreciated.
Mac Pro