Add encoding and error handling to subprocess call in Commands class

This commit is contained in:
Paul Gauthier 2024-07-30 15:19:38 -03:00 committed by Paul Gauthier (aider)
parent 9b129a7f03
commit a84cad4a59

View file

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