Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

Update terminal.py default executable bash

å¼ é›·76fe4966d139
diff --git a/metagpt/tools/libs/terminal.py b/metagpt/tools/libs/terminal.py
index e8b3043ab..dc395e89b 100644
--- a/metagpt/tools/libs/terminal.py
+++ b/metagpt/tools/libs/terminal.py
@@ -22,11 +22,13 @@ class Terminal:
# Start a persistent shell process
self.process = subprocess.Popen(
self.shell_command,
+ shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
bufsize=1, # Line buffered
+ executable="/bin/bash"
)
self.stdout_queue = Queue()