From 8799cf95b4ede99b36c0cd6598d4aca92f73f7f5 Mon Sep 17 00:00:00 2001 From: Daniel de Vries Date: Fri, 14 Feb 2025 11:47:45 -0500 Subject: [PATCH] subprocess now called with shell true --- aider/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/editor.py b/aider/editor.py index 14473e5d2ef..c679db80cbf 100644 --- a/aider/editor.py +++ b/aider/editor.py @@ -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: