On Tue, 2010-04-13 at 13:34 +0800, Wang Qi, Scott wrote: > Hi, > > Thanks for this great tool. Pyinstaller offers us great help on > packaging Python projects. > > We run into a issue. Our WxPython (WxWidget) based application support > both console mode and non-console mode. > > In console mode, "C:\mytools.exe --help" will print the standard help > information to the stdout and it can also get the input from stdin to > allow user iteration in text mode. In non-console mode, "C: > \mytools.exe" will launch the GUI windows. No console windows will be > launch.
This is not possible, because the console/windowed setting is a flag in the executable, handled directly by Windows itself. There might be a way to fake your wanted behaviour through Win32 API, but this is outside the scope of PyInstaller. I suggest you ask in a different forum (eg: StackOverflow) and see if you can come up with a way to do that in any language. At that point, we can try and work out a way to adapt it to PyInstaller. -- Giovanni Bajo :: [email protected] Develer S.r.l. :: http://www.develer.com My Blog: http://giovanni.bajo.it Last post: Grey on black: combining greylisting with blacklists -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
