fix: run subprocess with no stdin

This commit is contained in:
Paul Gauthier (aider) 2024-08-20 19:21:07 -07:00
parent cbe76bb49a
commit 15ebdcc45c

View file

@ -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: