标签: python windows
我有这个小Python函数:
Python
def change_boot(self): subprocess.call(['runas', '/user:Administrator','bcdedit'], shell=True)
然而,它一直在询问admin密码......我怎么能把它作为参数传递,或者完全绕过它?
admin
Enter the password for Administrator: None