Fix process env recursion [stage]

This commit is contained in:
crschnick
2026-09-10 13:23:28 +00:00
parent c8c29743c2
commit e4b0a03a39
@@ -26,12 +26,6 @@ public class LocalExec {
// Remove dev vars
env.remove("XPIPE_MAPPING");
// Ensure that electron applications on Linux use wayland features if possible
// https://github.com/microsoft/vscode/issues/207033#issuecomment-2167500295
if (OsType.ofLocal() == OsType.LINUX && !AppSystemInfo.ofLinux().isVirtualMachine()) {
env.put("ELECTRON_OZONE_PLATFORM_HINT", "auto");
}
// Add proxy vars
var proxyMap = HttpProxy.getEnvironmentVariables();
env.putAll(proxyMap);