fix(cli): validate Windows subprocess environment

This commit is contained in:
Xubin Ren
2026-08-12 02:57:48 +09:00
parent a0e60116a3
commit abfcdd481a
2 changed files with 16 additions and 1 deletions
+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"),