python - WindowsError: [Error 740] The requested operation requires elevation even after disabling UAC -
i have disabled uac , running script in python.
command = "abcd.exe" subprocess.popen(command,stdout=subprocess.pipe,stderr=subprocess.pipe).communicate() also, set application abcd.exe property run admin.
then i'm getting following error:
windowserror: [error 740] requested operation requires elevation
you try using:
subprocess.call(["abcd.exe"], shell=true) basically important part here shell=true; if set false, following error.
windowserror: [error 740]
Comments
Post a Comment