MCPcopy
hub / github.com/cli/cli / cmdWithStderr

Struct cmdWithStderr

internal/run/run.go:29–31  ·  view source on GitHub ↗

cmdWithStderr augments exec.Cmd by adding stderr to the error message

Source from the content-addressed store, hash-verified

27
28// cmdWithStderr augments exec.Cmd by adding stderr to the error message
29type cmdWithStderr struct {
30 *exec.Cmd
31}
32
33func (c cmdWithStderr) Output() ([]byte, error) {
34 if isVerbose, _ := utils.IsDebugEnabled(); isVerbose {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected