MCPcopy
hub / github.com/containers/toolbox / RunWithExitCode

Function RunWithExitCode

src/pkg/shell/shell.go:84–88  ·  view source on GitHub ↗
(name string, stdin io.Reader, stdout, stderr io.Writer, arg ...string)

Source from the content-addressed store, hash-verified

82}
83
84func RunWithExitCode(name string, stdin io.Reader, stdout, stderr io.Writer, arg ...string) (int, error) {
85 ctx := context.Background()
86 exitCode, err := RunContextWithExitCode(ctx, name, stdin, stdout, stderr, arg...)
87 return exitCode, err
88}

Callers

nothing calls this directly

Calls 1

RunContextWithExitCodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…