Hi, I'm new the development in Mac. I need to call a command line as following using C++ with system() function:
"sudo rm /private/var/db/.AccessibilityAPIEnabled"
I'm expecting this line being executed in background, however in my C++ console application, it would prompt for a password, I need to eliminate this step. Is there something like "sudo rm /private/var/db/.AccessibilityAPIEnabled -p MyPassword" in Mac?
Thanks a lot!
"sudo rm /private/var/db/.AccessibilityAPIEnabled"
I'm expecting this line being executed in background, however in my C++ console application, it would prompt for a password, I need to eliminate this step. Is there something like "sudo rm /private/var/db/.AccessibilityAPIEnabled -p MyPassword" in Mac?
Thanks a lot!