Hi Jorge,

def postgre_test():
    sudo('psql -U postgres')

.....

doing the same thing from the CLI I get the proper password dialog

So my question is how can I get this to work?

I think psql needs a terminal to ask for the password.

Could you try this and see what happens?

def postgre_test():
   sudo('psql -U postgres', pty=True)


Regards,
Mike



_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to