如何运行带有管道的命令|?
|
子进程模块看起来很复杂......
有没有类似的东西
output,error = `ps cax | grep something`
在shell脚本中?
python command pipe
command ×1
pipe ×1
python ×1