httpd = make_server('', 80, server)
webbrowser.open(url)
httpd.serve_forever()
This works cross platform except when I launch it on a putty ssh terminal.
How can i trick the console in opening the w3m browser in a separate process so it can continue to launch the server?
Or if it is not possible to skip webbrowser.open when running on a shell without x?
Maybe use threads? Either put the server setup separate from the main thread or the browsweropen instead as in:
(putting the server setup in the main thread lets it catch ctrl+c events i think)