func (c *Command) exec() error {
	shell := getShell()
	cmd := execCommand(shell, "-c", c.Exec)
	cmd.Dir = c.Dir
	cmd.Stdin = os.Stdin
	if ui.Verbosity > ui.VerbosityLevelSilent {
		cmd.Stdout = os.Stdout
		cmd.Stderr = os.Stderr
	}

	return cmd.Run()
}
// execCommand executes a shell command.
execCommand executes a shell command.
// execCommand executes a shell command .
func (c *Command) exec() error {
	shell := getShell()
	cmd := execCommand(shell, "-c", c.Exec)
	cmd.Dir = c.Dir
	cmd.Stdin = os.Stdin
	if ui.Verbosity > ui.VerbosityLevelSilent {
		cmd.Stdout = os.Stdout
		cmd.Stderr = os.Stderr
	}
	return cmd.Run()
}
func ( c * Command ) exec ( ) error { shell := getShell ( ) cmd := execCommand ( shell , " " , c . Exec ) cmd . Dir = c . Dir cmd . Stdin = os . Stdin if ui . Verbosity > ui . VerbosityLevelSilent { cmd . Stdout = os . Stdout cmd . Stderr = os . Stderr } return cmd . Run ( ) }
execCommand executes a shell command.
execCommand executes a shell command .