Sleep after each char send through screen which makes testing even slower but more reliable
This commit is contained in:
parent
86e7b3a1b5
commit
49aa031a95
3
test.py
3
test.py
@ -21,7 +21,8 @@ JB = "+" # Jump backwards
|
|||||||
EX = "\t" # EXPAND
|
EX = "\t" # EXPAND
|
||||||
|
|
||||||
def send(s,session):
|
def send(s,session):
|
||||||
os.system("screen -x %s -X stuff '%s'" % (session,s))
|
os.system("screen -x %s -X stuff '%s'" % (session,s))
|
||||||
|
time.sleep(.005)
|
||||||
|
|
||||||
def type(str, session):
|
def type(str, session):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user