add humanjson.sh script

This commit is contained in:
deflax 2016-02-15 12:44:47 +02:00
parent 2916b4b5e3
commit 456cc668c9

View file

@ -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')