go语言如何调用linux ping命令并返回执行结果到变量

cnchanghai · · 2929 次点击
或者 c := exec.Command("ping", “-t", "3", "http://www.baidu.com")
#4
更多评论
看不懂 os/exec怎么用的
#2