Answers for "execute bash command golang"

Go
0

golang execute bash command

cmd := exec.Command("echo", "hello wordl")
res, _ := cmd.CombinedOutput()
fmt.Println(string(res))
Posted by: Guest on October-10-2021

Code answers related to "execute bash command golang"

Browse Popular Code Answers by Language