diff --git a/agkyra/protocol.py b/agkyra/protocol.py index ba754d9a3cb3db65c7b91576e7091828b3af7e23..f4c9b1e4f3af004edd029de723b56e8a50225955 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")