mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
fix: run subprocess with no stdin
This commit is contained in:
parent
cbe76bb49a
commit
15ebdcc45c
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ class EditBlockCoder(Coder):
|
||||||
text=True,
|
text=True,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
|
stdin=subprocess.DEVNULL,
|
||||||
)
|
)
|
||||||
self.io.tool_output(result.stdout)
|
self.io.tool_output(result.stdout)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue