diff --git a/aider/run_cmd.py b/aider/run_cmd.py index 10aa572cb..5434b4a7a 100644 --- a/aider/run_cmd.py +++ b/aider/run_cmd.py @@ -31,7 +31,9 @@ def run_cmd_subprocess(command, verbose=False): # Use PowerShell if it's the parent process if "powershell" in os.environ.get("PSModulePath", "").lower(): shell = "powershell" - command = f'powershell -ExecutionPolicy Bypass -Command "& {{({command}) | Out-String}}"' + command = ( + f'powershell -ExecutionPolicy Bypass -Command "& {{({command}) | Out-String}}"' + ) else: shell = "cmd" else: