When running in a virtualenv - the hard-coded python path causes problems.
Using sys.execuable will use the same executable that started the run.py to launch server.py
This will also avoid problems when python executable is installed in non-standard locations.
When running in a virtualenv - the hard-coded python path causes problems. Using sys.execuable will use the same executable that started the run.py to launch server.py
This will also avoid problems when python executable is installed in non-standard locations.