Can't get Fabric's detached screen session example to work

前端 未结 3 1506
名媛妹妹
名媛妹妹 2021-01-02 05:29

I am trying to execute a script on a remote host using a detached screen session. I tried out the example Fabric gives and unfortunately couldn\'t get it to work.

         


        
3条回答
  •  别那么骄傲
    2021-01-02 05:46

    run('screen -d -m yes; sleep 1') works.

    Not sure if Fabric or screen are to blame for this behaviour though.

提交回复
热议问题