pyoxidizer: use `legacy_windows_stdio` on Windows
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 30 Jan 2020 19:50:43 -0500
changeset 44334 cd8f248fead4
parent 44333 e76d98546bd2
child 44335 9f8eddd2723f
pyoxidizer: use `legacy_windows_stdio` on Windows The C executable sets this too, otherwise no output shows up (when paging?). There is also `legacy_windows_fs_encoding`, but I'm not setting that for now because the C executable doesn't either. Differential Revision: https://phab.mercurial-scm.org/D8053
contrib/packaging/pyoxidizer.bzl
--- a/contrib/packaging/pyoxidizer.bzl	Wed Feb 05 17:12:39 2020 -0500
+++ b/contrib/packaging/pyoxidizer.bzl	Thu Jan 30 19:50:43 2020 -0500
@@ -23,6 +23,7 @@
         run_eval = code,
         # We need this to make resourceutil happy, since it looks for sys.frozen.
         sys_frozen = True,
+        legacy_windows_stdio = True,
     )
 
     exe = dist.to_python_executable(