From 518e6e0e560e71b3176b54cc4b2023f07efc9d57 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 15 Jun 2017 15:18:29 +0200 Subject: [PATCH] Prevent startup on Windows There's way too many things to fix before this has any chance of working. --- websockify/websockifyserver.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/websockify/websockifyserver.py b/websockify/websockifyserver.py index 055bb12..4b1fbb0 100644 --- a/websockify/websockifyserver.py +++ b/websockify/websockifyserver.py @@ -37,6 +37,9 @@ for mod, msg in [('ssl', 'TLS/SSL/wss is disabled'), if sys.platform == 'win32': # make sockets pickle-able/inheritable import multiprocessing.reduction + # the multiprocesssing module behaves much differently on Windows, + # and we have yet to fix all the bugs + sys.exit("Windows is not supported at this time") from websockify.websocket import WebSocket, WebSocketWantReadError, WebSocketWantWriteError from websockify.websocketserver import WebSocketRequestHandler