Fixed an issue where PSQL tool prompts for password if using password exec command. #6247

pull/6312/head
Pravesh Sharma 2023-05-23 11:07:04 +05:30 committed by GitHub
parent b1eba4fc4c
commit bfa859e9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -543,6 +543,9 @@ WHERE db.oid = {0}""".format(did))
password = self.password
os.environ[str(env)] = password
elif self.passexec:
password = self.passexec.get()
os.environ[str(env)] = password
def create_ssh_tunnel(self, tunnel_password):
"""