use 'python -u' to run python scripts

(cherry picked from commit a5dc0d5066)
This commit is contained in:
Mark Andrews 2017-05-24 15:09:39 +10:00
parent d786bb0f8b
commit 6f1632aedf

View file

@ -226,7 +226,7 @@ sub start_server {
} elsif ($server =~ /^ans/) {
$cleanup_files = "{ans.run}";
if (-e "$testdir/$server/ans.py") {
$command = "$PYTHON ans.py 10.53.0.$' 5300";
$command = "$PYTHON -u ans.py 10.53.0.$' 5300";
} elsif (-e "$testdir/$server/ans.pl") {
$command = "$PERL ans.pl";
} else {