Skip to content

SSH.WaitFor

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any None
Output ➡️ The resulting output of the shard String
Session No SSH shell session object none SSH.ShellVar(SSH.Shell)
Pattern No Regular expression to wait for in the output none StringVar(String)
Timeout No Timeout in milliseconds, 0 = wait indefinitely (default: 30000) 30000 IntVar(Int)
StripAnsi No Strip ANSI escape sequences before matching (default: true) true BoolVar(Bool)

Wait until the session output matches a regular expression, returning the matched text (errors on timeout)