Lines Matching +full:- +full:- +full:error +full:- +full:exitcode
2 // Use of this source code is governed by a BSD-style license that can be
27 run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error
28 runWithTimeout(cmd *command, duration time.Duration) error
29 exec(cmd *command) error
36 func newProcessEnv() (env, error) {
89 func (env *processEnv) exec(cmd *command) error {
93 func (env *processEnv) runWithTimeout(cmd *command, duration time.Duration) error {
97 func (env *processEnv) run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error…
110 ExitCode int `json:"exitcode,omitempty"` member
119 func (env *commandRecordingEnv) exec(cmd *command) error {
125 func (env *commandRecordingEnv) runWithTimeout(cmd *command, duration time.Duration) error {
129 …commandRecordingEnv) run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {
133 if exitCode, ok := getExitCode(err); ok {
138 ExitCode: exitCode,
150 func (env *printingEnv) exec(cmd *command) error {
155 func (env *printingEnv) runWithTimeout(cmd *command, duration time.Duration) error {
160 …c (env *printingEnv) run(cmd *command, stdin io.Reader, stdout io.Writer, stderr io.Writer) error {