Created
March 12, 2018 05:54
-
-
Save sohlich/8def0de330029c2e36b80601c10bfc98 to your computer and use it in GitHub Desktop.
executing command line cmds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd := "cat " + val.Name() + " | jq ." | |
out, err := exec.Command("bash", "-c", cmd).Output() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment