Skip to content
#

gevent

Here are 156 public repositories matching this topic...

pkittenis
pkittenis commented Jan 19, 2021

Is your feature request related to a problem? Please describe.
Would like to be able to use callback function for run_command to call when a command has finished executing.

Describe the solution you'd like

def my_cb(host_out, my_arg):
    for line in host_out.stdout:
        print(line)

client.run_command('echo me', callback=my_cb, callback_extra_args=('my_arg',))

`m

Improve this page

Add a description, image, and links to the gevent topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the gevent topic, visit your repo's landing page and select "manage topics."

Learn more