src/vs/workbench/services/extensions/common/extensionHostEnv.ts/writeExtHostConnection
export function writeExtHostConnection(connection: ExtHostConnection, env: IProcessEnvironment): void {
	// Avoid having two different keys that might introduce amiguity or problems.
	clean(env);
	connection.serialize(env);
}