ProtecteddefaultProtectedosxGet the default executable.
the default terminal executable.
ProtectedgetGet the default terminal app on OSX.
Open a native terminal in the designated working directory.
the configuration for opening external terminals.
the string URI of the current working directory where the terminal should open from.
ProtectedspawnSpawn the external terminal for the given options.
the preference configuration.
Optionalcwd: stringthe optional current working directory to spawn from.
some code copied and modified from https://github.com/microsoft/vscode/blob/1.52.1/src/vs/workbench/contrib/externalTerminal/node/externalTerminalService.ts