launcher icon indicating copy to clipboard operation
launcher copied to clipboard

Eliminate the standalone console window on Windows

Open mottosso opened this issue 8 years ago • 3 comments

Goal

This can safely be hidden.

image

mottosso avatar May 04 '17 11:05 mottosso

Hi @mottosso Has this console window been hidden on you guys end ? I find that using windowless pythonw.exe and subprocess.Popen to run avalon-setup/avalon.py could do the trick:

pythonw -c "from subprocess import Popen; Popen(['avalon'], shell=True)"

davidlatwe avatar Jul 11 '18 12:07 davidlatwe

Hey @davidlatwe, no I haven't looked into this yet, and admittedly it hasn't been an issue; quite the opposite, I find the information is quite useful at times.

Maybe showing it could be an opt-in, like an environment variable?

$ set AVALON_SHOW_CONSOLE=1

mottosso avatar Jul 11 '18 15:07 mottosso

and admittedly it hasn't been an issue; quite the opposite, I find the information is quite useful at times.

Oops, that's true, sorry, I forgot to mention that I was writing a .bat file for artists to start the launcher, so was looking for a magic cmd to hide this for them :P

Maybe showing it could be an opt-in, like an environment variable?

$ set AVALON_SHOW_CONSOLE=1

Ummm, I'll think about this, thanks !

davidlatwe avatar Jul 11 '18 16:07 davidlatwe