摘要:
```python import shlex, subprocess """ 1、subprocess.Popen("cat test.txt") # 因为默认shell=False,命令将不执行
2、subprocess.Popen("cat test.txt", shell=True) # 设置shell=True, 命令将执行
3、subprocess.Popen(["cat","t... 阅读全文
posted @ 2019-06-19 17:27
加州风尘
阅读(2929)
评论(0)
推荐(0)