MCPcopy Create free account
hub / github.com/cloudwego/eino-ext / RunCommand

Method RunCommand

components/tool/commandline/pyexecutor_test.go:42–44  ·  view source on GitHub ↗
(ctx context.Context, command []string)

Source from the content-addressed store, hash-verified

40}
41
42func (pyOperator) RunCommand(ctx context.Context, command []string) (*CommandOutput, error) {
43 return &CommandOutput{Stdout: "hello world\n", Stderr: "", ExitCode: 0}, nil
44}
45func (pyOperator) ReadFile(ctx context.Context, path string) (string, error) {
46 panic("implement me")
47}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected