##// END OF EJS Templates
Use unicode_to_str from py3compat
Jörgen Stenarson -
Show More
@@ -2082,7 +2082,7 b' class InteractiveShell(SingletonConfigurable, Magic):'
2082 2082 with AvoidUNCPath() as path:
2083 2083 if path is not None:
2084 2084 cmd = '"pushd %s &&"%s' % (path, cmd)
2085 cmd = cmd.encode(sys.stdin.encoding)
2085 cmd = py3compat.unicode_to_str(cmd)
2086 2086 ec = os.system(cmd)
2087 2087 else:
2088 2088 ec = os.system(cmd)
General Comments 0
You need to be logged in to leave comments. Login now