![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
Mr_老冷
Done is better than perfect.
展开
-
homebrew无法安装报错curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
mac安装brew一直报错 找了很多方法不行,进入官网看到有linux版安装方法,试了下,成功了 cd /usr/local/Homebrew curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C Homebrew git reset --hard origin/master 安装成功后敲...原创 2020-04-12 04:26:40 · 1715 阅读 · 0 评论 -
python后台执行shell
osx: 10.15 python: 3.6.5 airetest ios需要执行两部shell命令,且需要一直执行,借用python来后台执行 #coding:utf-8 import subprocess, time class Shell(object): def __init__(self, cmd): self.cmd = cmd se...原创 2020-03-08 04:31:14 · 2720 阅读 · 0 评论