CommandContext is part of the Interface interface.
(ctx context.Context, cmd string, args ...string)
| 52 | |
| 53 | // CommandContext is part of the Interface interface. |
| 54 | func (*executor) CommandContext(ctx context.Context, cmd string, args ...string) Cmd { |
| 55 | return (*cmdWrapper)(maskErrDotCmd(osexec.CommandContext(ctx, cmd, args...))) |
| 56 | } |
| 57 | |
| 58 | // Wraps exec.Cmd so we can capture errors. |
| 59 | type cmdWrapper osexec.Cmd |
nothing calls this directly
no test coverage detected