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.
我有这个小Python功能:
Python
def change_boot(self): subprocess.call(['runas', '/user:Administrator','bcdedit'], shell=True)
但是它一直在询问admin密码......我怎么能将它作为参数传递,或者根本绕过它?
admin
Enter the password for Administrator: None