From 8c4ca98fc2607c835432ef0e4cc69299bcd4db71 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Tue, 2 Mar 2021 18:16:00 +0300 Subject: [PATCH] RDP.SystemCMDRun - 4 fix with time lag --- Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py index b5365a34..b2d7c0e4 100644 --- a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py +++ b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py @@ -369,6 +369,7 @@ def SystemCMDRun(inSessionHexStr, inCMDCommandStr = "echo 1", inModeStr="CROSSCH Clipboard.TextSet(lClipboardTextOld) # time.sleep(0.5) # wait some time for the next operation keyboard.press_and_release('enter') # Execute CMD + time.sleep(1) if lCommandIsTooBigBool == True: # Case when string is tool big - call cmd and then type text into #keyboard.write("cmd") # Open cmd