diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-02 15:52:08 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-01-16 09:23:19 +0000 |
commit | 77de5fb2d02551eb7563ba1a42c74ad6581815fb (patch) | |
tree | a960cc0b506f2f0a2d9f0df0986d1be7690a5d6c /build_scripts/setup_runner.py | |
parent | b7707a51337cd7982d298041fa3db2ed225bfc54 (diff) |
setup.py: Fix running under non-UTF8 locale
Redirecting stderr to stdout causes an error when running
under non-UTF8 locales. For the build scripts, it is also not
desired to mix the output channels, so, remove the redirection.
Change-Id: I6e3d05ede00537c3cc4c022780e8d0ed27bb0cad
Fixes: PYSIDE-880
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'build_scripts/setup_runner.py')
-rw-r--r-- | build_scripts/setup_runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/setup_runner.py b/build_scripts/setup_runner.py index 8efb2883a..0e45a13f4 100644 --- a/build_scripts/setup_runner.py +++ b/build_scripts/setup_runner.py @@ -148,7 +148,7 @@ class SetupRunner(object): for cmd in self.invocations_list: cmd_as_string = " ".join(cmd) print("\nRunning process: {}\n".format(cmd_as_string)) - exit_code = run_process(cmd, redirect_stderr_to_stdout=False) + exit_code = run_process(cmd) if exit_code != 0: msg = textwrap.dedent(""" setup.py invocation failed with exit code: {}.\n\n |