diff --git a/aider/utils.py b/aider/utils.py index 169dddb38..5d73a39e1 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -30,10 +30,10 @@ def run_interactive_command(command): try: # Check if /bin/sh exists - if os.path.exists('/bin/sh'): + 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") + 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