Use -u python option, to avoid buffering stdout

master
Yevgen Muntyan 2006-06-04 22:15:27 -05:00
parent 8197eae047
commit eecc9d88d9
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ import sys
import os
if os.name == 'nt':
PYTHON_COMMAND = '"' + sys.exec_prefix + '\\python.exe"'
PYTHON_COMMAND = '"' + sys.exec_prefix + '\\python.exe" -u'
else:
PYTHON_COMMAND = 'python'
PYTHON_COMMAND = 'python -u'
try:
import pyconsole