Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个打开终端并调用此命令的苹果脚本:sudo killall coreaudiod
sudo killall coreaudiod
这怎么可能?
do shell script "sudo killall coreaudiod" with administrator privileges
然后要求用户输入密码