createTerminal
Creates a Terminal with a backing shell process. The cwd of the terminal will be the workspace directory if it exists.
Parameters
Optional human-readable string which will be used to represent the terminal in the UI.
Optional path to a custom shell executable to be used in the terminal.
Optional args for the custom shell executable. A string can be used on Windows only which allows specifying shell args in command-line format.
Throws
running in an environment where a new process cannot be started.
Creates a Terminal with a backing shell process.
Parameters
A TerminalOptions object describing the characteristics of the new terminal.
Throws
running in an environment where a new process cannot be started.
Creates a Terminal where an extension controls its input and output.
Parameters
An ExtensionTerminalOptions object describing the characteristics of the new terminal.