MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / ShellRunner

Struct ShellRunner

internal/tools/installer.go:31–31  ·  view source on GitHub ↗

ShellRunner is the default CommandRunner; it executes via /bin/sh -c when the install_cmd contains shell metacharacters and via exec.Command otherwise.

Source from the content-addressed store, hash-verified

29// ShellRunner is the default CommandRunner; it executes via /bin/sh -c when the
30// install_cmd contains shell metacharacters and via exec.Command otherwise.
31type ShellRunner struct{}
32
33// Run executes name with args. If name is empty, it falls back to shell mode
34// using the first arg as the full command.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected