From 64b05a99719fca4519469653b53c7319168c95fd Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 30 Aug 2024 08:32:18 -0700 Subject: [PATCH] refactor: disable pexpect usage in run_cmd function --- aider/run_cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/run_cmd.py b/aider/run_cmd.py index a879e3cad..6f292b26f 100644 --- a/aider/run_cmd.py +++ b/aider/run_cmd.py @@ -10,7 +10,7 @@ import pexpect def run_cmd(command): import sys - if sys.stdin.isatty() and hasattr(pexpect, "spawn") and platform.system() != "Windows": + if False and sys.stdin.isatty() and hasattr(pexpect, "spawn") and platform.system() != "Windows": return run_cmd_pexpect(command) return run_cmd_subprocess(command)