Commit cbbff127 authored by Oskar Skog's avatar Oskar Skog

Pipe to more with shell=True as it's only a shell builtin on Windows

parent 7e8b2431
......@@ -1493,7 +1493,8 @@ def highscores_display(title, headers, rows, cfgfile):
less.wait()
except:
try:
more = subprocess.Popen(['more'], stdin=subprocess.PIPE)
# more is only a shell builtin on Windows.
more = subprocess.Popen('more', stdin=subprocess.PIPE, shell=True)
more.communicate(text)
more.wait()
except:
......
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