Add terminal.integrated.automationShell

Fixes #78497
This commit is contained in:
Daniel Imms
2019-08-09 09:15:43 -07:00
parent ded1ac5379
commit 37e0b8e229
14 changed files with 72 additions and 26 deletions

View File

@@ -335,7 +335,7 @@ export class MainThreadTerminalService implements MainThreadTerminalServiceShape
private _onRequestDefaultShellAndArgs(request: IDefaultShellAndArgsRequest): void {
if (this._isPrimaryExtHost()) {
this._proxy.$requestDefaultShellAndArgs().then(e => request(e.shell, e.args));
this._proxy.$requestDefaultShellAndArgs(request.useAutomationShell).then(e => request.callback(e.shell, e.args));
}
}