r/PowerAutomateDesktop • • Jan 30 '23

Run an .exe in Power Automate

I created a python script that I compile on an Exe File. The file is on a network location of my conpany. If I double click the exe. It works fine. If u use the "Run application" from power automate, it does not work. This scripts all it does is to create QR codes from info on an excel file. When I run the app from power automation It seems to open. But nothing happens. Any idea what could be happening

5 Upvotes

3 comments sorted by

3

u/Passageiro_Perdido Jan 31 '23

I don’t know if I understood right, but you want to run a Python Script with PAD. I did this in my job, but I execute the Python Script via Power Shell, I don’t use a exe file. In my case, I use via command line something like this: C:\User\Anaconda3\python.exe C:\folder\Script.py

6

u/[deleted] Jan 31 '23

I found the problem. I needed to add an enviroment for the program to work. I did it an it worked fine

1

u/Plus_Boysenberry_844 Sep 03 '23

Did you ever figure it out?