How do I change directories using Paramiko?

后端 未结 4 1517
-上瘾入骨i
-上瘾入骨i 2020-12-08 04:04

Drush commands not executing using Paramiko

I posted the above question regarding a persistent error message that I receive using Paramiko. I do not think it is rela

4条回答
  •  失恋的感觉
    2020-12-08 04:56

    A bit late with this one, but its possible to 'invoke_shell' and write to the standard input through a file.

    Please see: https://stackoverflow.com/a/6203877/1861353

    Seems a little bit heavyweight since you can just ';'.join(cmdlist) and send to the exec_command.

提交回复
热议问题