mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Add encoding and error handling to subprocess call in Commands class
This commit is contained in:
parent
9b129a7f03
commit
a84cad4a59
1 changed files with 2 additions and 0 deletions
|
@ -620,6 +620,8 @@ class Commands:
|
|||
text=True,
|
||||
env=env,
|
||||
shell=True,
|
||||
encoding=self.io.encoding,
|
||||
errors="replace",
|
||||
)
|
||||
combined_output = result.stdout
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue