Commit f20d15b0 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

run with pythonw on Windows if not frozen

parent 2fd70aac
......@@ -683,7 +683,8 @@ def launch_server(callback, debug):
"""Launch the server in a separate process"""'Start SessionHelper session')
if utils.iswin():
command = [callback]
command = [] if ISFROZEN else ["pythonw.exe"]
if debug:
command.append("start daemon")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment