diff options
| author | ruki <[email protected]> | 2020-03-03 00:14:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-03-02 19:29:42 +0800 |
| commit | 30e5c22acf242194f9c7944341ccca75076be5f2 (patch) | |
| tree | 203cde63a8a337a5bf7565ae2e731b498498f324 | |
| parent | f33ee9fc657023fc8875f919715342d7066519e5 (diff) | |
fix os.execv
| -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 |
