bostjan35 Posted February 5, 2019 Posted February 5, 2019 Hey all, I have a weird problem. I have a compiled python script (pyinstaller), which is ran by autoit. When I run it on my pc, it works like a charm. But when I try to run it on any other pc, nothing happens. Also, if I run the python exe from cmd prompt on another pc, it works. It just won't run from autoit. This is the code I use for running: Run(@ComSpec & ' /c "@UserProfileDir & "\Downloads\script.exe" -o csv"') Help, pls!
argumentum Posted February 5, 2019 Posted February 5, 2019 ;Run(@ComSpec & ' /c "@UserProfileDir & "\Downloads\script.exe" -o csv"') Run(@ComSpec & ' /c ' & @UserProfileDir & "\Downloads\script.exe -o csv") Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
bostjan35 Posted February 5, 2019 Author Posted February 5, 2019 6 hours ago, argumentum said: ;Run(@ComSpec & ' /c "@UserProfileDir & "\Downloads\script.exe" -o csv"') Run(@ComSpec & ' /c ' & @UserProfileDir & "\Downloads\script.exe -o csv") Ugh, sh*t ! I love you, argumentum Thanks, lol!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now