MCPcopy Index your code
hub / github.com/larksuite/cli / execCommandRunner

Struct execCommandRunner

shortcuts/apps/command_runner.go:22–22  ·  view source on GitHub ↗

execCommandRunner is the production commandRunner backed by os/exec.

Source from the content-addressed store, hash-verified

20
21// execCommandRunner is the production commandRunner backed by os/exec.
22type execCommandRunner struct{}
23
24func (execCommandRunner) Run(ctx context.Context, dir, name string, args ...string) (string, string, error) {
25 cmd := exec.CommandContext(ctx, name, args...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected