How to hide cmd windows when I try to pack dash with pyinstaller

Hi, everyone!

I have a question, I was trying to use pyinstaller to pack my dash as exe.

it is good when .exe has a cmd window, but when I use -w to hide the cmd window, I can clikc my GUI to get to the dashweb, but the function of dashweb doesnt work.

can anyone help me?

Are you doing onedir or onefile? I generally have less issues and faster app launching with onedir for the Mac at least.