Skip to content

Commit c12c16c

Browse files
committed
Fail early on missing websockify executable
1 parent 203e123 commit c12c16c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jupyter_remote_desktop_proxy/setup_websockify.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ def setup_websockify():
1212
raise RuntimeError(
1313
"vncserver executable not found, please install a VNC server"
1414
)
15+
if not which('websockify'):
16+
raise RuntimeError("websockify executable not found, please install websockify")
1517

1618
# TurboVNC and TigerVNC share the same origin and both use a Perl script
1719
# as the executable vncserver. We can determine if vncserver is TigerVNC

0 commit comments

Comments
 (0)