From 796b0b1224dfac820ff70752e85520f6896fbc57 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Tue, 2 Mar 2021 18:11:43 +0300 Subject: [PATCH] RDP.SystemCMDRun - 3 fix if command string is more than 259 symb - not applicable for RUN window - need to open CMD and type! --- Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py index 8d25a106..b5365a34 100644 --- a/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py +++ b/Sources/pyOpenRPA/Orchestrator/RobotRDPActive/Connector.py @@ -307,11 +307,11 @@ def SystemCMDRun(inSessionHexStr, inCMDCommandStr = "echo 1", inModeStr="CROSSCH lCrosscheckKeyStr = str(random.randrange(999,9999999)) lRecoveryCMDResponsibleRetryIteratorInt = 0 # Init the retry iterator lCommandIsTooBigBool = False + lCMDPostFixStr = "" # Case default "RUN" while lRecoveryCMDResponsibleRetryIteratorInt