mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
refactor: modify stdout reading chunk size in run_cmd_subprocess
This commit is contained in:
parent
ab9d9c8429
commit
e84caa48a0
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def run_cmd_subprocess(command, verbose=False):
|
||||||
|
|
||||||
output = []
|
output = []
|
||||||
while True:
|
while True:
|
||||||
chunk = process.stdout.read(1024) # Read in 1KB chunks
|
chunk = process.stdout.read(1)
|
||||||
if not chunk:
|
if not chunk:
|
||||||
break
|
break
|
||||||
print(chunk, end="", flush=True) # Print the chunk in real-time
|
print(chunk, end="", flush=True) # Print the chunk in real-time
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue