diff options
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 19c4fe8d2..7e6facc69 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -696,7 +696,7 @@ function os.execv(program, argv, opt) -- open command local ok = -1 - local proc = process.openv(filename, argv, openopt) + local proc = process.openv(filename, argv or {}, openopt) if proc ~= nil then -- wait process |
