MCPcopy Create free account
hub / github.com/alibaba/open-code-review / shellCommand

Function shellCommand

cmd/opencodereview/shell_unix.go:10–12  ·  view source on GitHub ↗
(ctx context.Context, script string)

Source from the content-addressed store, hash-verified

8)
9
10func shellCommand(ctx context.Context, script string) *exec.Cmd {
11 return exec.CommandContext(ctx, "sh", "-c", script)
12}

Callers 1

initMCPClientsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected