Merge branch 'main' of github.com:Aider-AI/aider

This commit is contained in:
Paul Gauthier 2025-02-15 12:00:47 -08:00
commit 185ea71646

View file

@ -130,7 +130,7 @@ def pipe_editor(input_data="", suffix=None, editor=None):
filepath = write_temp_file(input_data, suffix)
command_parts = discover_editor(editor)
command_parts.append(filepath)
subprocess.call(command_parts)
subprocess.call(command_parts, shell=True)
with open(filepath, "r") as f:
output_data = f.read()
try: