refactor: disable pexpect usage in run_cmd function

This commit is contained in:
Paul Gauthier 2024-08-30 08:32:18 -07:00 committed by Paul Gauthier (aider)
parent 8024153b3c
commit 64b05a9971

View file

@ -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)