From 3ccb8764341d29bda548bccfcd3095e95187d7f6 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 27 Aug 2024 08:59:20 -0700 Subject: [PATCH] fix: Correct SEARCH/REPLACE block in aider/utils.py --- aider/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/aider/utils.py b/aider/utils.py index 958a66dbf..a7f91406d 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -32,11 +32,9 @@ def run_interactive_command(command): # Check if /bin/sh exists if os.path.exists("/bin/sh"): # Use /bin/sh -c if it exists - spawn_command = ["/bin/sh", "-c", command] child = pexpect.spawn("/bin/sh", args=["-c", command], encoding="utf-8") else: # Fall back to the original behavior - spawn_command = command child = pexpect.spawn(command, encoding="utf-8") # Transfer control to the user, capturing output