externalTerminal renderer -> main process (#122871)

This commit is contained in:
Megan Rogge
2021-05-03 21:18:34 -05:00
committed by GitHub
parent f19a2c969b
commit de4e9067e8
14 changed files with 208 additions and 316 deletions

View File

@@ -20,10 +20,10 @@ import { IExtHostRpcService } from 'vs/workbench/api/common/extHostRpcService';
import { ExtHostDebugServiceBase, ExtHostDebugSession, ExtHostVariableResolverService } from 'vs/workbench/api/common/extHostDebugService';
import { ISignService } from 'vs/platform/sign/common/sign';
import { SignService } from 'vs/platform/sign/node/signService';
import { hasChildProcesses, prepareCommand, runInExternalTerminal } from 'vs/workbench/contrib/debug/node/terminals';
import { IDisposable } from 'vs/base/common/lifecycle';
import { AbstractVariableResolverService } from 'vs/workbench/services/configurationResolver/common/variableResolver';
import { createCancelablePromise, firstParallel } from 'vs/base/common/async';
import { hasChildProcesses, prepareCommand, runInExternalTerminal } from 'vs/workbench/contrib/debug/node/terminals';
export class ExtHostDebugService extends ExtHostDebugServiceBase {
@@ -139,7 +139,6 @@ export class ExtHostDebugService extends ExtHostDebugServiceBase {
return shellProcessId;
} else if (args.kind === 'external') {
return runInExternalTerminal(args, await this._configurationService.getConfigProvider());
}
return super.$runInTerminal(args, sessionId);