(name string, stdin io.Reader, stdout, stderr io.Writer, arg ...string)
| 28 | ) |
| 29 | |
| 30 | func Run(name string, stdin io.Reader, stdout, stderr io.Writer, arg ...string) error { |
| 31 | ctx := context.Background() |
| 32 | err := RunContext(ctx, name, stdin, stdout, stderr, arg...) |
| 33 | return err |
| 34 | } |
| 35 | |
| 36 | func RunContext(ctx context.Context, name string, stdin io.Reader, stdout, stderr io.Writer, arg ...string) error { |
| 37 | exitCode, err := RunContextWithExitCode(ctx, name, stdin, stdout, stderr, arg...) |
nothing calls this directly
no test coverage detected