Apache Lucene open-source search software
Disable buffer for subprocess pipe objects
Shalin Shekhar Mangarfdff37f36eca
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.pyindex 82b046dc255..4820899b2d3 100644--- a/dev-tools/scripts/buildAndPushRelease.py+++ b/dev-tools/scripts/buildAndPushRelease.py@@ -46,7 +46,7 @@ def run(command):raise RuntimeError(msg)def runAndSendGPGPassword(command, password):- p = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)+ p = subprocess.Popen(command, shell=True, bufsize=0, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE)f = open(LOG, 'ab')while True:line = p.stdout.readline()