From 205ed0a4c78debab1c0ebcb0bba8e3e4f1994dbe Mon Sep 17 00:00:00 2001 From: Mats Wichmann Date: Sun, 28 Jan 2024 09:19:53 -0700 Subject: Fix copy-paste error The stderr block was copied from the stdout block during initia edits, but only one instance of "stdout" was changed to "stderr". --- SCons/Platform/win32.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SCons/Platform/win32.py b/SCons/Platform/win32.py index 7752140..1779b03 100644 --- a/SCons/Platform/win32.py +++ b/SCons/Platform/win32.py @@ -176,7 +176,7 @@ def piped_spawn(sh, escape, cmd, args, env, stdout, stderr): try: with open(tmpFileStderrName, "rb") as tmpFileStderr: errors = tmpFileStderr.read() - stdout.write(errors.decode(stderr.encoding, "replace")) + stderr.write(errors.decode(stderr.encoding, "replace")) os.remove(tmpFileStderrName) except OSError: pass -- cgit v0.12