python - pyinstaller on Windows with --noconsole simply won't work -


i have simple gui (wxpython) app , working great. i'm using windows 7.
when compiling using pyinstaller -w (or --noconsole or --windowed) , run it, can see console window millisecond , shutdown. gui app won't run.
compiling without -w produce working app console window.

what missing here?

i guess somehow launching subprocess gets messed when python runs without console window. have had solve 3 problems related this:

  1. the multiprocessing module needs set environment variable when spawns worker processes.
  2. the subprocess module needs explicitly handle stdin, stdout, , stderr, because standard file handles aren't set subprocesses inherit.
  3. the subprocess creates console window, unless tell not to.

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -