fabric

作者: 不咸的Yan | 来源:发表于2019-08-16 08:55 被阅读0次
  • fabric

with c as c:                        
     res = c.run('pwd')
     with c.cd('/home/yy/Desktop/'):
         res2 = c.run('pwd')
         path = os.path.join((res2.stdout).strip(),'sdata/bin')
         res3 = connect = c.run('ls')
         with c.cd(path):

相关文章

网友评论

      本文标题:fabric

      本文链接:https://www.haomeiwen.com/subject/hvgxsctx.html