Merge pull request #75799 from microsoft/tyriar/exthost_shell_calls

Replace getDefaultShell and mergeDefaultShellPathAndArgs with getDefaultShellAndArgs
This commit is contained in:
Daniel Imms
2019-06-19 16:08:14 -07:00
committed by GitHub
15 changed files with 111 additions and 110 deletions

View File

@@ -1112,6 +1112,11 @@ export interface IShellDefinitionDto {
path: string;
}
export interface IShellAndArgsDto {
shell: string;
args: string[] | string | undefined;
}
export interface ExtHostTerminalServiceShape {
$acceptTerminalClosed(id: number): void;
$acceptTerminalOpened(id: number, name: string): void;
@@ -1130,6 +1135,7 @@ export interface ExtHostTerminalServiceShape {
$acceptProcessRequestLatency(id: number): number;
$acceptWorkspacePermissionsChanged(isAllowed: boolean): void;
$requestAvailableShells(): Promise<IShellDefinitionDto[]>;
$requestDefaultShellAndArgs(): Promise<IShellAndArgsDto>;
}
export interface ExtHostSCMShape {