From 137ec89fc25e7e975c2c2eb7ad154c7f9ae3f550 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Tue, 2 Mar 2021 17:55:02 +0300 Subject: [PATCH] RDP.SystemCMDRun - 2 fix if command string is more than 259 symb - not applicable for RUN window - need to open CMD and type! --- .../Orchestrator/RobotRDPActive/Connector.py | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py index 85bb1099..8d25a106 100644 --- a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py +++ b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py @@ -306,6 +306,7 @@ def SystemCMDRun(inSessionHexStr, inCMDCommandStr = "echo 1", inModeStr="CROSSCH Clipboard.TextSet(lClipboardTextOld) lCrosscheckKeyStr = str(random.randrange(999,9999999)) lRecoveryCMDResponsibleRetryIteratorInt = 0 # Init the retry iterator + lCommandIsTooBigBool = False while lRecoveryCMDResponsibleRetryIteratorInt