I tried the following code... with fabric.api.settings(host_string="testuser@localhost", user="testuser", password="testuser", abort_on_prompts=True): fabric.api.run("ls /tmp")
Fatal error: Needed to prompt, but abort-on-prompts was set to True! Aborting. But if I run... with fabric.api.settings(host_string="testuser@localhost", user="testuser", password="testuser"): fabric.api.run("ls /tmp") It runs fine and does not prompt. I am trying to write a non-interactive build script, so I need something like abort_on_prompts, but it need to not abort with error when correct login credentials are provided. Help?
_______________________________________________ Fab-user mailing list Fab-user@nongnu.org https://lists.nongnu.org/mailman/listinfo/fab-user