From 456cc668c963845e1d93ddae7a7496e83b240896 Mon Sep 17 00:00:00 2001 From: deflax Date: Mon, 15 Feb 2016 12:44:47 +0200 Subject: [PATCH] add humanjson.sh script --- novnc.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/novnc.py b/novnc.py index 610b2aa..a6e7089 100644 --- a/novnc.py +++ b/novnc.py @@ -24,21 +24,3 @@ def spawn(target, options): print('spawn!') -def spawn2(options): - """ spawn novnc daemon """ - print('daemon spawned') - novncd = threading.Thread(name='novncd', target=start_websockify, args=(options,)) - novncd.setDaemon(True) #daemonic ]:> - novncd.start() - print('stauts', novncd.isAlive()) - - -def start_websockify(options): - """ spawn websockify process """ - print(options) - server = websockify.WebSocketProxy(**options) - server.start_server() - print('daemon exited') - #while True: - # print('daemon') -