(name string, arg ...string)
| 99 | } |
| 100 | |
| 101 | func (c *CommandHelper) RunWithOptionalSudo(name string, arg ...string) error { |
| 102 | commandName, commandArgs := WrapWithOptionalSudo(name, arg...) |
| 103 | return c.Run(commandName, commandArgs...) |
| 104 | } |
| 105 | |
| 106 | func (c *CommandHelper) RunWithStdout(name string, arg ...string) (string, error) { |
| 107 | return c.run(name, arg...) |
no test coverage detected