omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Paramiko send command to background and exit

    Pythonista
    1
    1
    3181
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • userista
      userista last edited by

      I'm trying to execute a shell command using paramiko's .exec_command() that will be a long running command (downloading files etc.) so I would like to execute the command and detach it from paramiko which will allow me to .close() the connection.
      Right now I am using this shell command screen -d -m `my command here` basically creating a new screen every time.

      Any tips on another way how to do it?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB Forums | Contributors