Explorar o código

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

Ian Goldberg hai 1 ano
pai
achega
deaa5adc41
Modificáronse 1 ficheiros con 1 adicións e 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__":