summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-03-03 00:14:57 +0800
committerruki <[email protected]>2020-03-02 19:29:42 +0800
commit30e5c22acf242194f9c7944341ccca75076be5f2 (patch)
tree203cde63a8a337a5bf7565ae2e731b498498f324 /xmake/core/base/os.lua
parentf33ee9fc657023fc8875f919715342d7066519e5 (diff)
fix os.execv
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua2
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