From fe779a1dc8065dc175cb4ff454ed6d3a1944adf0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 2 Oct 1996 14:57:28 +0000 Subject: Don't mix stdout/stderr. --- Lib/rexec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/rexec.py b/Lib/rexec.py index 0d1b5a1..b1e2122 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -298,7 +298,7 @@ class RExec(ihooks._Verbose): s = self.modules['sys'] s.stdin = self.restricted_stdin s.stdout = self.restricted_stdout - s.stderr = self.restricted_stdout + s.stderr = self.restricted_stderr sys.stdin = self.delegate_stdin sys.stdout = self.delegate_stdout sys.stderr = self.delegate_stderr @@ -308,7 +308,7 @@ class RExec(ihooks._Verbose): s = self.modules['sys'] self.restricted_stdin = s.stdin self.restricted_stdout = s.stdout - self.restricted_stdout = s.stderr + self.restricted_stderr = s.stderr def save_files(self): -- cgit v0.12