一.安装Cygwin
//下载
https://www.cygwin.com
//安装配置参考
https://jingyan.baidu.com/article/455a99507c0b78a166277809.html
https://www.douban.com/note/723078223/
终端校验
二.golang脚本执行Linux命令
var (
cmd *exec.Cmd
err error