diff --git a/pyfpdb/GuiAutoImport.py b/pyfpdb/GuiAutoImport.py index ab471fe5..4db85872 100755 --- a/pyfpdb/GuiAutoImport.py +++ b/pyfpdb/GuiAutoImport.py @@ -199,10 +199,10 @@ class GuiAutoImport (threading.Thread): bs = 0 elif os.name == 'nt': path = sys.path[0].replace('\\','\\\\') - command = 'python "'+path+'\\HUD_main.py" ' + self.settings['cl_options'] + command = 'pythonw "'+path+'\\HUD_main.pyw" ' + self.settings['cl_options'] bs = 0 else: - command = os.path.join(sys.path[0], 'HUD_main.py') + command = os.path.join(sys.path[0], 'HUD_main.pyw') command = [command, ] + string.split(self.settings['cl_options']) bs = 1 diff --git a/pyfpdb/HUD_main.py b/pyfpdb/HUD_main.pyw similarity index 100% rename from pyfpdb/HUD_main.py rename to pyfpdb/HUD_main.pyw diff --git a/pyfpdb/py2exe_setup.py b/pyfpdb/py2exe_setup.py index b734f923..15c834b5 100644 --- a/pyfpdb/py2exe_setup.py +++ b/pyfpdb/py2exe_setup.py @@ -131,7 +131,7 @@ setup( version = '0.12', windows = [ {'script': 'fpdb.pyw', "icon_resources": [(1, "../gfx/fpdb_large_icon.ico")]}, - {'script': 'HUD_main.py', }, + {'script': 'HUD_main.pyw', }, {'script': 'Configuration.py', } ],