2021年8月31日

go执行shell并返回结果

摘要: arg := "curl -I \"www.baidu.com\"" cmd := exec.Command("/bin/sh", "-c", arg)out, err := cmd.Output()if err != nil { fmt.Println(err)}fmt.Println(strin 阅读全文

posted @ 2021-08-31 16:40 星星眨着眼 阅读(246) 评论(0) 推荐(0) 编辑

python 虚拟环境

摘要: python3 -m venv env_pythonsource env_python/bin/activate 安装python时,如果缺少ssl,可以在编译的时候: sudo ./configure --with-ssl 阅读全文

posted @ 2021-08-31 13:48 星星眨着眼 阅读(32) 评论(0) 推荐(0) 编辑

导航