Fix for issue where static system commands are truncated (#10292)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Tim O'Farrell
2025-08-14 22:16:50 -06:00
committed by GitHub
parent e40681ca61
commit 985a634d60
5 changed files with 21 additions and 5 deletions

View File

@@ -1038,7 +1038,9 @@ fi
self, command: str, cwd: str | None
) -> CommandResult:
"""This function is used by the GitHandler to execute shell commands."""
obs = self.run(CmdRunAction(command=command, is_static=True, cwd=cwd))
obs = self.run(
CmdRunAction(command=command, is_static=True, hidden=True, cwd=cwd)
)
exit_code = 0
content = ''