Optionalname: stringOptional human-readable string which will be used to represent the terminal in the UI.
OptionalshellPath: stringOptional path to a custom shell executable to be used in the terminal.
OptionalshellArgs: string | readonly string[]Optional args for the custom shell executable. A string can be used on Windows only which allows specifying shell args in command-line format.
A new Terminal.
Creates a Terminal with a backing shell process.
A TerminalOptions object describing the characteristics of the new terminal.
A new Terminal.
Creates a Terminal where an extension controls its input and output.
An ExtensionTerminalOptions object describing the characteristics of the new terminal.
A new Terminal.
Creates a Terminal with a backing shell process. The cwd of the terminal will be the workspace directory if it exists.