Yes, this code is more safe than my patch on UNIX. > Can I change it as follows? > > - path = p.stdout.readline().rstrip() > + if sys.platform == 'win32' and sys.version_info >= (3,): > + path = io.TextIOWrapper(p.stdout, > encoding='latin1').readline().rstrip() > + else: > + path = p.stdout.readline().rstrip()
I appreciate your kindness. Thanks, Seigo Ishigane _______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
