mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +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 = []
|
||||
while True:
|
||||
chunk = process.stdout.read(1024) # Read in 1KB chunks
|
||||
chunk = process.stdout.read(1)
|
||||
if not chunk:
|
||||
break
|
||||
print(chunk, end="", flush=True) # Print the chunk in real-time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue