MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / defaultExecutor

Struct defaultExecutor

internal/ssh/executor.go:14–14  ·  view source on GitHub ↗

defaultExecutor is the default implementation using os/exec.

Source from the content-addressed store, hash-verified

12
13// defaultExecutor is the default implementation using os/exec.
14type defaultExecutor struct{}
15
16func (defaultExecutor) CommandContext(ctx context.Context, name string, args ...string) *exec.Cmd {
17 // #nosec G204 -- command name/args come from vetted internal call sites.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected