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 _______________________________________________ Fab-user mailing list Fab-user@nongnu.org http://lists.nongnu.org/mailman/listinfo/fab-user