小编Tem*_*lar的帖子

paramiko中的管道命令

我如何在paramiko中运行管道命令?我这样做: -

statement = 'grep thing file | grep thing2 | tail -1'
last_msg = conn.execute(statement)
Run Code Online (Sandbox Code Playgroud)

我得到的输出grep thing file.

python grep pipe paramiko

5
推荐指数
1
解决办法
2680
查看次数

标签 统计

grep ×1

paramiko ×1

pipe ×1

python ×1