fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] Re: How to handle remote shell prompt for input?


From: Simon Smith
Subject: [Fab-user] Re: How to handle remote shell prompt for input?
Date: Tue, 15 Jun 2010 16:11:07 -0400

I've had some luck doing this type of thing with pyexpect - pretty
powerful once you get the hang of it, although it takes some
trial-and-error to get something programmed.


>
> I need Fabric to pass an arbitrary string to the remote shell due to a
> user-prompt.
> Specifically I need to give the password to mysqldump command and my web
> hosting site does not allow the --password=[password] flag
> Only answer I could find on the web is "use pexpect", which isn't a good
> answer...
> Thanks
>  Jonathan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]