# HG changeset patch # User Matt Harbison # Date 2020-01-31 00:50:43 # Node ID cd8f248fead475582e17a849c1593fe3e24a483d # Parent e76d98546bd2df0cf8be209727d8309ff6821e12 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 diff --git a/contrib/packaging/pyoxidizer.bzl b/contrib/packaging/pyoxidizer.bzl --- a/contrib/packaging/pyoxidizer.bzl +++ b/contrib/packaging/pyoxidizer.bzl @@ -23,6 +23,7 @@ def make_exe(): 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(