From f20d15b03806fa9bf7e78d19902f50eb892b230e Mon Sep 17 00:00:00 2001 From: Giorgos Korfiatis <gkorf@grnet.gr> Date: Mon, 12 Oct 2015 16:21:08 +0300 Subject: [PATCH] run with pythonw on Windows if not frozen --- agkyra/protocol.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agkyra/protocol.py b/agkyra/protocol.py index ba754d9..f4c9b1e 100644 --- a/agkyra/protocol.py +++ b/agkyra/protocol.py @@ -683,7 +683,8 @@ def launch_server(callback, debug): """Launch the server in a separate process""" LOG.info('Start SessionHelper session') if utils.iswin(): - command = [callback] + command = [] if ISFROZEN else ["pythonw.exe"] + command.append(callback) if debug: command.append('-d') command.append("start daemon") -- GitLab