FIXED multiprocessing doesn't work in Windows
@@ -716,6 +716,10 @@ class SubprocessProxy(BackendProxy):
# variables controlling communication with the back-end process
env["PYTHONIOENCODING"] = "utf-8"
+ # because cmd line option -u won't reach child processes
+ # see https://github.com/thonny/thonny/issues/808
+ env["PYTHONUNBUFFERED"] = "1"
+
# Let back-end know about plug-ins
env["THONNY_USER_DIR"] = THONNY_USER_DIR
env["THONNY_FRONTEND_SYS_PATH"] = repr(sys.path)
