diff --git a/aider/run_cmd.py b/aider/run_cmd.py index e4aa843cb..735c269e0 100644 --- a/aider/run_cmd.py +++ b/aider/run_cmd.py @@ -10,12 +10,7 @@ import pexpect def run_cmd(command): import sys - if ( - False - and sys.stdin.isatty() - and hasattr(pexpect, "spawn") - and platform.system() != "Windows" - ): + if sys.stdin.isatty() and hasattr(pexpect, "spawn") and platform.system() != "Windows": return run_cmd_pexpect(command) return run_cmd_subprocess(command)