MCPcopy Create free account
hub / github.com/charmbracelet/bubbletea / wrapExecCommand

Function wrapExecCommand

exec.go:69–71  ·  view source on GitHub ↗

wrapExecCommand wraps an exec.Cmd so that it satisfies the ExecCommand interface so it can be used with Exec.

(c *exec.Cmd)

Source from the content-addressed store, hash-verified

67// wrapExecCommand wraps an exec.Cmd so that it satisfies the ExecCommand
68// interface so it can be used with Exec.
69func wrapExecCommand(c *exec.Cmd) ExecCommand {
70 return &osExecCommand{Cmd: c}
71}
72
73// osExecCommand is a layer over an exec.Cmd that satisfies the ExecCommand
74// interface.

Callers 1

ExecProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected