show server output using info()
This commit is contained in:
parent
119ec171de
commit
c3206b236e
@ -344,8 +344,9 @@ class MCServerChunkGenerator(object):
|
|||||||
|
|
||||||
proc = self.runServer(tempDir)
|
proc = self.runServer(tempDir)
|
||||||
while proc.poll() is None:
|
while proc.poll() is None:
|
||||||
line = proc.stderr.readline()
|
line = proc.stderr.readline().strip()
|
||||||
yield line.strip()
|
info(line)
|
||||||
|
yield line
|
||||||
|
|
||||||
if "[INFO] Done" in line:
|
if "[INFO] Done" in line:
|
||||||
proc.stdin.write("stop\n")
|
proc.stdin.write("stop\n")
|
||||||
|
Reference in New Issue
Block a user