fgimian / paramiko-expect

A Python expect-like extension for the Paramiko SSH library which also supports tailing logs.
MIT License
205 stars 78 forks source link

Allow to pass custom logger to expect and tail #17

Closed max-lobur closed 7 years ago

max-lobur commented 7 years ago

I did not inlude this feature to take_control bacause there's also an input involved. I don't believe custom in/out will be useful in this interactive function.

fruch commented 7 years ago

I like this idea, gave me also lot of trouble. But I think to rename the parameter to output_callback, and also add to the __init__