-1

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.

  • Does this answer your question? [Powershell and Python - How to run a command as admin](https://stackoverflow.com/questions/44707068/powershell-and-python-how-to-run-a-command-as-admin) – Furkan Edizkan May 20 '22 at 14:39

1 Answers1

-1

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')
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community May 20 '22 at 15:46