摘要: exec包执行外部命令,它将os.StartProcess进行包装使得它更容易映射到stdin和stdout,并且利用pipe连接i/o. func LookPath(file string) (string, error) //LookPath在环境变量中查找科执行二进制文件,如果file中包含一 阅读全文
posted @ 2022-09-29 11:42 gtea 阅读(1081) 评论(0) 推荐(0) 编辑