Closed susnak closed 3 years ago
That's odd. I don't know of any reason it should depend on the working directory. You can see the code that runs for a command here:
Is it possible that it's a problem in your code that runs? E.g. if you do open('blah', 'w')
, it may fail if it's running in a directory where it can't create files. If you print something right at the beginning of your main()
function, does it show up?
Ah, I had broken connect_controls.exe (from pyinstaller) in C:>. That was stupid. Sorry & thanks for a great tool.
No problem, glad you like it!
I am using pynsist 2.6 (on Linux) and I have this in my installer.cfg
[Command connect_controls] entry_point=connect_controls:main console=true
It works great except when I am in C:> the program does not run. The command is found, but exits without any message.