rodesousa
12/20/2017 - 9:36 AM

execute command

	out, err := exec.Command("dateee").Output()
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("The date is %s\n", out)

		out, err := exec.Command("/bin/sh", "-c", "vault list secret").Output()
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("The date is %s\n", out)