MCPcopy Create free account
hub / github.com/braintrustdata/bash-agent-evals / exec

Function exec

src/agents/bash-agent.ts:85–87  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

83function createTimeoutBash(bash: Bash, timeoutMs: number) {
84 return {
85 async exec(command: string) {
86 return withTimeout(bash.exec(command), timeoutMs, command);
87 },
88 fs: bash.fs,
89 };
90}

Callers

nothing calls this directly

Calls 1

withTimeoutFunction · 0.70

Tested by

no test coverage detected