Explorar el Código

Have launch flush its output so that it can be grepped, etc.

Ian Goldberg hace 2 años
padre
commit
deaa5adc41
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      App/launch

+ 1 - 1
App/launch

@@ -34,7 +34,7 @@ def launch(node, manifest, config):
         line = proc.stdout.readline()
         if not line:
             break
-        print(node + ": " + line.decode('utf-8'), end='')
+        print(node + ": " + line.decode('utf-8'), end='', flush=True)
 
 
 if __name__ == "__main__":