diff options
| author | ruki <[email protected]> | 2021-07-13 22:41:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-07-13 10:10:41 +0800 |
| commit | 52f17b5f01e5ae4be5f50b0d8f9e8338dd87879d (patch) | |
| tree | 5e7681e54d1d8cf0a55430171453d88acfe8a8bc | |
| parent | 52d8385e5446ad607d1a0fb1c34581eeefc764db (diff) | |
disable split long pathenv
| -rw-r--r-- | xmake/core/base/os.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index d44ac3843..a2856fd66 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -732,9 +732,10 @@ function os.execv(program, argv, opt) end envars[k] = v -- we need fix too long value before running process + --[[ if type(v) == "string" and #v > 4096 and os.host() == "windows" then os._split_long_pathenv(envars, k) - end + end]] end envs = {} for k, v in pairs(envars) do |
