Skip to content

Commit 191c2cb

Browse files
Merge pull request #386 from muzea/hotfix/windows-default-env
fix: add windows env PROGRAMFILES, avoid some exe can not be found
2 parents 773b842 + d54ebee commit 191c2cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/stdio.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const DEFAULT_INHERITED_ENV_VARS =
5656
"TEMP",
5757
"USERNAME",
5858
"USERPROFILE",
59+
"PROGRAMFILES",
5960
]
6061
: /* list inspired by the default env inheritance of sudo */
6162
["HOME", "LOGNAME", "PATH", "SHELL", "TERM", "USER"];

0 commit comments

Comments
 (0)