ShellPromptExpression Property
A regular expression to match the shell prompt returned by the server.
Data Type
StringDefault Value
""Remarks
This property specifies a regular expression defining a pattern of shell prompt to wait for when executing a command. After a command is sent to the server the adapter will search the response for a prompt matching the expression defined in this property to signal that the command execution is complete.
This may be used in place of ShellPrompt and is helpful in situations where the exact prompt is not known but a general format is defined. If a matching prompt is not found within Timeout seconds an error occurs.
Note: The value specified in ShellPromptExpression must be a properly formatted .NET regular expression.