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

Function wrapExecCommand

exec.go:73–75  ·  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

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

Callers 1

ExecProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected