Orchestrator.RDPSessionCMDRun - Fix output (test)

dev-linux
Ivan Maslov 4 years ago
parent 9e2efe7e1b
commit b076088601

@ -357,6 +357,9 @@ def SystemCMDRun(inSessionHexStr, inCMDCommandStr = "echo 1", inModeStr="CROSSCH
time.sleep(gRecoveryWindowRUNRetryIntervalSecInt) # wait for some seconds before new iteration time.sleep(gRecoveryWindowRUNRetryIntervalSecInt) # wait for some seconds before new iteration
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # # # # # # # # # RUN CMD # # # # # # # # # # # # # # # # # # # # # # # # # # # # RUN CMD # # # # # # # # # # # # # # #
if inModeStr == "LISTEN": # if mode == LISTEN - set random number in clipboard
Clipboard.TextSet(lClipboardTextOld) #
time.sleep(0.5) # wait some time for the next operation
keyboard.press_and_release('enter') # Execute CMD keyboard.press_and_release('enter') # Execute CMD
if inModeStr == "CROSSCHECK" or inModeStr == "LISTEN": # Get OutStr (Case CROSSCHECK and LISTEN) if inModeStr == "CROSSCHECK" or inModeStr == "LISTEN": # Get OutStr (Case CROSSCHECK and LISTEN)
lClipboardWaitTimeStartSec = time.time() lClipboardWaitTimeStartSec = time.time()

Loading…
Cancel
Save