Answers for "execute golang code on linux server"

Go
0

how to execute linux command in golang

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 golang code on linux server"

Browse Popular Code Answers by Language