Hello i'm been having some trouble with run a exe file on python. I'm using a Raspberry Pi and have not been able to find an answer that works. I've tried to use subprocess
import subprocess
subprocess.Popen("/home/pi/Desktop/file.exe")
only to get [Errno 8] Exec format error. I get the same thing with subprocess.call.
I tried to use os
import os
os.system("/home/pi/Desktop/file.exe")
I get no errors there but nothing happens.
I know the exe file works when I click on it, I know that the file path is correct. Is there anyway I could run this exe with my python program.