how to in python run another app (powershell) with admin access? Or any app in general, I cannot seem to get through the login popup.
Even if someone could help me with a bash/powershell script about this, that would be lovely.
CodePudding user response:
That here is a similar or essentially the same question you are asking.
Maybe that can be of help. It looks a lot like what you are asking about.
CodePudding user response:
You can use os module in python
import os
# os.system("any app that runs from terminal")
# to open thunar file manager in linux
os.system("thunar")
# to open postman in linux
os.system('postman')