Skip to content

Commit be140a8

Browse files
authored
Forking from the extension host fails when running tests (fix microsoft#154549) (microsoft#175141)
1 parent b438c38 commit be140a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/vs/base/node/ps.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ export function listProcesses(rootPid: number): Promise<ProcessItem> {
109109
if (UTILITY_SHARED_PROCESS_HINT.exec(cmd)) {
110110
return 'shared-process';
111111
}
112+
113+
return 'utility-process';
112114
} else if (matches[1] === 'extensionHost') {
113115
return 'extension-host'; // normalize remote extension host type
114116
}

src/vs/platform/utilityProcess/electron-main/utilityProcess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export class UtilityProcess extends Disposable {
206206
const serviceName = `${this.configuration.type}-${this.id}`;
207207
const modulePath = FileAccess.asFileUri('bootstrap-fork.js').fsPath;
208208
const args = this.configuration.args ?? [];
209-
const execArgv = [...this.configuration.execArgv ?? [], `--vscode-utility-kind=${this.configuration.type}`];
209+
const execArgv = this.configuration.execArgv ?? []; // TODO@deepak1556 this should be [...this.configuration.execArgv ?? [], `--vscode-utility-kind=${this.configuration.type}`] but is causing https://github.com/microsoft/vscode/issues/154549
210210
const allowLoadingUnsignedLibraries = this.configuration.allowLoadingUnsignedLibraries;
211211
const stdio = 'pipe';
212212
const env = this.createEnv(configuration, isWindowSandboxed);

0 commit comments

Comments
 (0)