comparison contrib/packaging/pyoxidizer.bzl @ 44288:cd8f248fead4

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
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 30 Jan 2020 19:50:43 -0500
parents 281b6690e646
children 6689cebacb32
comparison
equal deleted inserted replaced
44287:e76d98546bd2 44288:cd8f248fead4
21 config = PythonInterpreterConfig( 21 config = PythonInterpreterConfig(
22 raw_allocator = "system", 22 raw_allocator = "system",
23 run_eval = code, 23 run_eval = code,
24 # We need this to make resourceutil happy, since it looks for sys.frozen. 24 # We need this to make resourceutil happy, since it looks for sys.frozen.
25 sys_frozen = True, 25 sys_frozen = True,
26 legacy_windows_stdio = True,
26 ) 27 )
27 28
28 exe = dist.to_python_executable( 29 exe = dist.to_python_executable(
29 name = "hg", 30 name = "hg",
30 config = config, 31 config = config,