Python Fabric: How to handle arbitrary remote shell prompt for input?
Posted
by Jay
on Stack Overflow
See other posts from Stack Overflow
or by Jay
Published on 2010-04-16T02:32:03Z
Indexed on
2010/04/16
2:43 UTC
Read the original article
Hit count: 306
This is related to this question here, but with a slight twist: instead of just passing 'yes' or 'no', I need Fabric to pass an arbitrary string to the remote shell.
For instance, if the remote shell prompts for 'what is your name?' then I need to feed it 'first,last'
© Stack Overflow or respective owner