MCPcopy
hub / github.com/openpubkey/opkssh / CmdExecutor

FuncType CmdExecutor

policy/plugins/plugins.go:88–88  ·  view source on GitHub ↗
func(name string, arg ...string) ([]byte, error)

Source from the content-addressed store, hash-verified

86}
87
88type CmdExecutor func(name string, arg ...string) ([]byte, error)
89
90func DefaultCmdExecutor(name string, arg ...string) ([]byte, error) {
91 return exec.Command(name, arg...).CombinedOutput()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected