Skip to content

Commit f992a90

Browse files
authored
Forking from the extension host fails when running tests (fix microsoft#154549) (microsoft#155139)
1 parent 867acc3 commit f992a90

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/vs/base/node/ps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function listProcesses(rootPid: number): Promise<ProcessItem> {
5252
const ISSUE_REPORTER_HINT = /--vscode-window-kind=issue-reporter/;
5353
const PROCESS_EXPLORER_HINT = /--vscode-window-kind=process-explorer/;
5454
const UTILITY_NETWORK_HINT = /--utility-sub-type=network/;
55-
const UTILITY_EXTENSION_HOST_HINT = /--vscode-utility-kind=extension-host/;
55+
const UTILITY_EXTENSION_HOST_HINT = /--utility-sub-type=node.mojom.NodeService/;
5656
const WINDOWS_CRASH_REPORTER = /--crashes-directory/;
5757
const WINDOWS_PTY = /\\pipe\\winpty-control/;
5858
const WINDOWS_CONSOLE_HOST = /conhost\.exe/;

src/vs/platform/extensions/electron-main/extensionHostStarter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ class UtilityExtensionHostProcess extends Disposable {
324324
const modulePath = FileAccess.asFileUri('bootstrap-fork.js', require).fsPath;
325325
const args: string[] = ['--type=extensionHost', '--skipWorkspaceStorageLock'];
326326
const execArgv: string[] = opts.execArgv || [];
327-
execArgv.push(`--vscode-utility-kind=extension-host`);
328327
const env: { [key: string]: any } = { ...opts.env };
329328

330329
// Make sure all values are strings, otherwise the process will not start

0 commit comments

Comments
 (0)