|
|
@ -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()
|
|
|
|