Fabric - Is there any way to capture run stdout?

前端 未结 0 651
Happy的楠姐
Happy的楠姐 2021-02-11 16:10

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

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