windows: rclrtf.py and rcldoc.py apparently working ok
--HG-- branch : WINDOWSPORT
This commit is contained in:
parent
82bdf21833
commit
42401c8f26
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user