From fb64808f7ad307ec0275dde5ed803f5dbe936f3e Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Wed, 11 Mar 2020 17:16:20 +0300 Subject: [PATCH] # HotFix Escape in RobotRDPActive --- Sources/pyOpenRPA/Tools/RobotRDPActive/Connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/pyOpenRPA/Tools/RobotRDPActive/Connector.py b/Sources/pyOpenRPA/Tools/RobotRDPActive/Connector.py index f5bbac8c..ad407504 100644 --- a/Sources/pyOpenRPA/Tools/RobotRDPActive/Connector.py +++ b/Sources/pyOpenRPA/Tools/RobotRDPActive/Connector.py @@ -43,7 +43,7 @@ def SessionLoginPasswordSet(inHost, inLogin, inPassword): #Clear old login/password if it exists #os.system(f"cmdkey /delete:TERMSRV/{inHost}") #Dont need to delete because new user password will clear the previous creds #Set login password for host - os.system(f"cmdkey /generic:TERMSRV/{inHost} /user:{inLogin} /pass:{inPassword}") + os.system(f'cmdkey /generic:TERMSRV/{inHost} /user:{inLogin} /pass:"{inPassword}"') return None #Create current .rdp file with settings #Return (full path to file, session hex)