简体   繁体   中英

How to stop cmd prompt from showing when I run my .exe file

I have a made a GUI in Python, which I have turned into an .exe file using pyInstaller 2.1. Every time I run the .exe file the Windows Command Prompt starts, then my GUI starts on top of it.

Is there a way to stop the cmd prompt from showing?

(This happens on both Win7 and Win8 (64-bit) machines)

showing console seems to be the default behaviour. you may change this via -w, --windowed, --noconsole

see here: http://www.pyinstaller.org/export/develop/project/doc/Manual.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM