windows: rclrtf.py and rcldoc.py apparently working ok

--HG--
branch : WINDOWSPORT
This commit is contained in:
Jean-Francois Dockes 2015-09-12 16:53:24 +02:00
parent 82bdf21833
commit 42401c8f26
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ class RclExecM:
if sys.platform == "win32": if sys.platform == "win32":
import msvcrt import msvcrt
msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
def rclog(self, s, doexit = 0, exitvalue = 1): def rclog(self, s, doexit = 0, exitvalue = 1):
print("RCLMFILT: %s: %s" % (self.myname, s), file=sys.stderr) print("RCLMFILT: %s: %s" % (self.myname, s), file=sys.stderr)