String returns c as a shell-quoted string.
()
| 137 | |
| 138 | // String returns c as a shell-quoted string. |
| 139 | func (c *Cmd) String() string { |
| 140 | return c.Args.String() |
| 141 | } |
| 142 | |
| 143 | func (c *Cmd) initExecCommand(ctx context.Context) *exec.Cmd { |
| 144 | if c.execCmd != nil { |