diff --git a/cmd/ping/main.go b/cmd/ping/main.go index 80b0eab..9181662 100644 --- a/cmd/ping/main.go +++ b/cmd/ping/main.go @@ -10,4 +10,9 @@ func main() { output, err := cmd.Output() log.Println("output:", string(output)) log.Println("err:", err) + + cmd = exec.Command("ping", "qiongbi", "-c5") + output, err = cmd.Output() + log.Println("output:", string(output)) + log.Println("err:", err) }