mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
update: pwd not report
This commit is contained in:
parent
384dc78e70
commit
120e928210
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ class Terminal:
|
|||
return "\n".join(output_lines)
|
||||
|
||||
async def _read_and_process_output(self, cmd, daemon=False) -> str:
|
||||
if "pwd" in cmd:
|
||||
return
|
||||
async with self.observer as observer:
|
||||
cmd_output = []
|
||||
await observer.async_report(cmd + self.command_terminator, "cmd")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue