Start a new terminal session.
The server settings to use.
Optional
The name of the target terminal.
The path in which the terminal will start.
A promise that resolves with the session model.
Start a new terminal session.