7

I used pyinstaller -F in order to create one .exe file to run. I would like it to run in as a background process. That means that if one clicks the .exe file, he can only close it from the "PROCESSES". I want the program will run in the background and will not be seen. (As opposed to now, where I see the black console.)

Brian McCutchon
  • 8,354
  • 3
  • 33
  • 45
Guy
  • 91
  • 1
  • 6
  • possible duplicate of [How to hide console window in python?](http://stackoverflow.com/questions/764631/how-to-hide-console-window-in-python) – Tui Popenoe Jun 08 '15 at 14:11
  • you can use --noconsole option. http://stackoverflow.com/questions/17584698/getting-rid-of-console-output-when-freezing-python-programs-using-pyinstaller – wayne Apr 11 '17 at 19:01
  • @TuiPopenoe No, this is for pyinstaller – jotjern May 21 '18 at 14:59

1 Answers1

5

I think this will help you.

pyinstaller "filename.filetype" -w -F

jotjern
  • 460
  • 5
  • 18