OutputErrOK executes the given command string, handling the given arguments appropriately. If there is any error, it adds it to the shell. It returns the stdout as a string and forwards stderr to [exec.Config.Stderr] appropriately.
(cmd any, args ...any)
| 40 | // appropriately. If there is any error, it adds it to the shell. It returns |
| 41 | // the stdout as a string and forwards stderr to [exec.Config.Stderr] appropriately. |
| 42 | func (sh *Shell) OutputErrOK(cmd any, args ...any) string { |
| 43 | return sh.Exec(true, false, true, cmd, args...) |
| 44 | } |