Skip to content

Commit

Permalink
Fix copy-paste error
Browse files Browse the repository at this point in the history
The stderr block was copied from the stdout block during initia edits, but only one instance of "stdout" was changed to "stderr".
  • Loading branch information
mwichmann authored Jan 28, 2024
1 parent a74ae6a commit 205ed0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCons/Platform/win32.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 205ed0a

Please sign in to comment.