File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/vs/platform/terminal/electron-main Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { IpcMainEvent } from 'electron';
16
16
import { validatedIpcMain } from 'vs/base/parts/ipc/electron-main/ipcMain' ;
17
17
import { DisposableStore , toDisposable } from 'vs/base/common/lifecycle' ;
18
18
import { Emitter } from 'vs/base/common/event' ;
19
+ import { deepClone } from 'vs/base/common/objects' ;
19
20
20
21
export class ElectronPtyHostStarter implements IPtyHostStarter {
21
22
@@ -78,6 +79,7 @@ export class ElectronPtyHostStarter implements IPtyHostStarter {
78
79
79
80
private _createPtyHostConfiguration ( lastPtyId : number ) {
80
81
return {
82
+ ...deepClone ( process . env ) ,
81
83
VSCODE_LAST_PTY_ID : String ( lastPtyId ) ,
82
84
VSCODE_AMD_ENTRYPOINT : 'vs/platform/terminal/node/ptyHostMain' ,
83
85
VSCODE_PIPE_LOGGING : 'true' ,
You can’t perform that action at this time.
0 commit comments