Merge branch 'feature-zhanglei' into 'mgx_ops'

Update terminal.py default executable bash

See merge request pub/MetaGPT!51
This commit is contained in:
洪思睿 2024-04-13 11:57:26 +00:00
commit 313d5d41f3

View file

@ -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()