is a regular expression consisting of a single > character; I assume that's part or all of the system prompt that appears when the info
command is complete. The problem is that the > character appears in the output of the info
The solution is to waitfor something else. If there are other characters that always appear in the system prompt, include them in the waitfor regex.
A fragile solution is to waitfor a > not preceeded by a dash, as in the info command's output. A regex for this:
# match > at the beginning of a line or not preceeded by -