fix(cli): validate Windows subprocess environment

This commit is contained in:
Xubin Ren committed 2026-08-12 02:57:48 +09:00
1 parent a0e60116a3
commit abfcdd481a
2 files changed
+16 -1

No files matched your search

+1 -1
View File
@@ -1010,7 +1010,7 @@ class CliAppManager:
"PATH": os.environ.get("PATH", f"{sr}\\system32;{sr}"),
"PYTHONUNBUFFERED": "1",
}
return {k: v for k, v in env.items() if v is not None}
return env
return {
"HOME": os.environ.get("HOME", "/tmp"),
"LANG": os.environ.get("LANG", "C.UTF-8"),