Commit b616e114 authored by Guido van Rossum's avatar Guido van Rossum

Believe it or not, but "more" on Windows requires "more <file" rather

than "more file".  Since tempfilepager() is only used on Windows, it
seems, do this unconditionally -- on Unix, it always invokes something
else.
parent 207fda61
......@@ -835,7 +835,7 @@ def tempfilepager(text, cmd):
file.write(text)
file.close()
try:
os.system(cmd + ' ' + filename)
os.system(cmd + ' <' + filename)
finally:
os.unlink(filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment