Friday, 7 May 2021

Run process as admin with subprocess.run in python

Is there a way of passing some runas=True arg to a subprocess.run function in python? I want to run a process as admin (elevate it). Thanks for answers :)\

EDIT: Using Windows OS.



from Run process as admin with subprocess.run in python

No comments:

Post a Comment