[test] Fix Python3
This commit is contained in:
parent
f7a08cd41d
commit
64e41d2c89
|
@ -6,7 +6,7 @@ import sys, os, subprocess
|
||||||
|
|
||||||
def cmd(command):
|
def cmd(command):
|
||||||
global process
|
global process
|
||||||
process.stdin.write (' '.join (command) + '\n')
|
process.stdin.write ((' '.join (command) + '\n').encode ("utf-8"))
|
||||||
process.stdin.flush ()
|
process.stdin.flush ()
|
||||||
return process.stdout.readline().decode ("utf-8").strip ()
|
return process.stdout.readline().decode ("utf-8").strip ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue