func ExecLine(line string) error {
	config.Debug("ExecLine line:", line)
	args, err := shlex.Split(line)
	if err != nil {
		return err
	}
	if runtime.GOOS != "windows" {
		for _, arg := range args {
			if arg == "|" {
				result, err := exec.Command("bash", "-c", fmt.Sprintf("%s %v", os.Args[0], line)).Output()
				fmt.Print(string(result))
				return err
			}
		}
	}
	return ExecCmd(args)
}
ExecLine executes a line of command
package cli
import (
	"fmt"
	"os"
	"os/exec"
	"runtime"
	"strings"
	"github.com/apache/cloudstack-cloudmonkey/cmd"
	"github.com/apache/cloudstack-cloudmonkey/config"
	"github.com/google/shlex"
)