Class representing an interactive console.
Interprets a specified script within additional provided locals. There are LMIConsole.DEFAULT_LOCALS present.
| Parameters: |
|
|---|---|
| Returns: | exit code of the script |
| Return type: | int |
Saves current history of commands into the history file. If the length of history exceeds a maximum history file length, the history will be truncated.