File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ export class ExtensionHostConnection extends AbstractConnection {
143
143
debug : this . startParams . break ? undefined : portNumber ,
144
144
args : [ '--type=extensionHost' , '--skipWorkspaceStorageLock' ] ,
145
145
env : < ForkEnvironmentVariables > {
146
+ ...( this . startParams . env || { } ) ,
146
147
VSCODE_AMD_ENTRYPOINT : 'vs/workbench/services/extensions/node/extensionHostProcess' ,
147
148
VSCODE_PIPE_LOGGING : true ,
148
149
VSCODE_VERBOSE_LOGGING : true ,
Original file line number Diff line number Diff line change 6
6
import * as os from 'os' ;
7
7
import { Emitter , Event } from 'vs/base/common/event' ;
8
8
import { IDisposable } from 'vs/base/common/lifecycle' ;
9
- import { cloneAndChange } from 'vs/base/common/objects' ;
9
+ import { cloneAndChange , deepClone } from 'vs/base/common/objects' ;
10
10
import { IProcessEnvironment } from 'vs/base/common/platform' ;
11
11
import { URI } from 'vs/base/common/uri' ;
12
12
import { IURITransformer , transformIncomingURIs } from 'vs/base/common/uriIpc' ;
@@ -143,7 +143,7 @@ export class TerminalProviderChannel implements IServerChannel<RemoteAgentConnec
143
143
) ;
144
144
145
145
const processEnv : IProcessEnvironment = {
146
- ...process . env ,
146
+ ...deepClone ( process . env ) ,
147
147
...( resolverEnv || { } ) ,
148
148
VSCODE_IPC_HOOK_CLI : cliServer . ipcHandlePath ,
149
149
} ;
You can’t perform that action at this time.
0 commit comments