Functions to get and set the prompt of an rexpect session. Note: this
function does not change the prompt of the command that is running.
Usage
prompt(session)
prompt(session) <- value
set_prompt(session, value)
Arguments
- session
A rexpect_session.
- value
String containing a regular expression that matches all
relevant patterns.
Value
String containing a regular expression that matches all relevant
patterns.