Fabric - Is there any way to capture run stdout?

前端 未结 0 373
星月不相逢
星月不相逢 2021-02-11 15:57

I\'m trying to do the following:

output = run(\"ls -l backups\")
for line in output.split(\"/n\"):
    do_stuff(line)

Any way of having the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题