add humanjson.sh script
This commit is contained in:
parent
2916b4b5e3
commit
456cc668c9
1 changed files with 0 additions and 18 deletions
18
novnc.py
18
novnc.py
|
@ -24,21 +24,3 @@ def spawn(target, options):
|
||||||
print('spawn!')
|
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')
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue