在Linux 下使用os/exec + Pipe 或Bash 運算式. rcmd := `iw dev | awk '$1=="Interface"{print $2}'` cmd := exec.Command("bash", "-c", rcmd) out, ...
確定! 回上一頁