技术文档 golang执行系统命令os exec admin 发表于2020-03-24 浏览1403 评论0 os/exec Command方法func Command(name string, arg ...string) *Cmd调用示例exec.Command("ls", "-a", "-l")运行系统命令12345678910111213141516171819202122232425262728293031package main import (&nbs