src/vs/platform/externalTerminal/node/externalTerminalService.ts/getSanitizedEnvironment
function getSanitizedEnvironment(process: NodeJS.Process) {
	const env = { ...process.env };
	sanitizeProcessEnvironment(env);
	return env;
}