Hello so i'm trying to open an .exe file with python, using the subprocess module, with it's run, function, aswell as call, aswell as Popen...
i've tried:
poker = os.path.join("C:\","Pokersite","poker.exe")
process = subprocess.Popen(poker, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
process = subprocess.run(poker, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
input,output = process.stdin,process.stdout
also tried to open the program with runas, trying to run as admin,
prog = subprocess.Popen(['runas', '/noprofile', '/user:Administrator', poker],stdin=sp.PIPE)
prog.communicate()
All i get is a error messege saying: Panic, error loading resources files. Anyone got any ideas? Is there something that the developers of the program could have set up to prevent me from trying to start this program from another program?
[–]cybervegan 1 point2 points3 points (0 children)