mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +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,
|
text=True,
|
||||||
env=env,
|
env=env,
|
||||||
shell=True,
|
shell=True,
|
||||||
|
encoding=self.io.encoding,
|
||||||
|
errors="replace",
|
||||||
)
|
)
|
||||||
combined_output = result.stdout
|
combined_output = result.stdout
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue