首页 > 其他 > 详细

fabric

时间:2019-09-08 10:00:41      阅读:74      评论:0      收藏: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.cnblogs.com/0916m/p/11484335.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!