esbonio
esbonio copied to clipboard
WIP: Fix #790: preview server - Uses Thread instead of Process for Python 3.12+
Workaround to fix Preview of rst files not working #790.
To avoid any retrocompatibility issues, a Thread is used (instead of the current Process) only if we are on Python 3.12+.
Thread and Process share the same API, so only minimal changes were necessary.