Getting pyinstaller .exe program to run from clicking file?

263 Views Asked by At

I have a command line based program that I've turned into an executable using PyInstaller. I would like the program to launch a command prompt and run when clicked. Currently I can only get it to run from the command prompt. When I click it, a blank command prompt will open, remain open for a couple of seconds and then close. I'm stuck. Does anyone have any suggestions?

1

There are 1 best solutions below

0
On

Have you tried the --console flag with pyinstaller?